All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.founder.api.RpcCommonSbfsiService Maven / Gradle / Ivy

package com.founder.api;

import com.alibaba.fastjson.JSONObject;
import com.founder.api.factory.RpcCommonSbfsiFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.HttpHeaders;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * 河北医保专用 对接电子凭证解码
 */
@FeignClient(value = "chis4cloud-fsi", fallbackFactory = RpcCommonSbfsiFallbackFactory.class)
public interface RpcCommonSbfsiService {

    /**
     * 电子凭证解码
     * @param request
     * @param headers
     * @return
     */
    @PostMapping(value = "/fsi/api/hsecfc/localQrCodeQuery")
    Object localQrCodeQuery(@RequestBody JSONObject request, @RequestHeader HttpHeaders headers);

    /**
     * 电子凭证解码
     * @param request
     * @param headers
     * @return
     */
    @PostMapping(value = "/fsi/api/hsecfc/localQrCodeQueryEx")
    Object localQrCodeQueryEx(@RequestBody JSONObject request, @RequestHeader HttpHeaders headers);

    /**
     * 人员基本信息获取
     * @param request
     * @param headers
     * @return
     */
    @PostMapping(value = "/fsi/api/fsiPsnInfoService/queryPsnInfo")
    Object queryPsnInfo(@RequestBody JSONObject request, @RequestHeader HttpHeaders headers);

    /**
     * 人员待遇享受检查
     * @param request
     * @param headers
     * @return
     */
    @PostMapping(value = "/fsi/api/fsiPsnPriorityInfoService/queryPsnPriorityInfo")
    Object queryPsnPriorityInfo(@RequestBody JSONObject request, @RequestHeader HttpHeaders headers);

    /**
     * 签到
     * @param request
     * @param headers
     * @return
     */
    @PostMapping(value = "/fsi/api/signInSignOutService/signIn")
    Object signIn(@RequestBody JSONObject request, @RequestHeader HttpHeaders headers);

    /**
     * 签退
     * @param request
     * @param headers
     * @return
     */
    @PostMapping(value = "/fsi/api/signInSignOutService/signOut")
    Object signOut(@RequestBody JSONObject request, @RequestHeader HttpHeaders headers);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy