fwq
2022-08-24 2fafa9f3558da65e0d453e4faa825b6730de8c96
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java
@@ -6,6 +6,7 @@
import org.springframework.cloud.openfeign.FeignClient;
import com.hx.resultTool.Result;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
@@ -20,13 +21,13 @@
     * @param userId
     * @return
     */
    @PostMapping(value = "/user/consumption/data/list")
    @PostMapping(value = "/user/consumption/data/list",consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
    Result userList(@RequestParam("userId") String userId);
    /**
     * 根据用户id同步用户基本信息
     * @param userId
     * @return
     */
    @PostMapping(value = "/sync/user/syncUserById")
    @PostMapping(value = "/sync/user/syncUserById",consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
    Result syncUserById(@RequestParam("userId") String userId);
}