fwq
2022-08-24 2fafa9f3558da65e0d453e4faa825b6730de8c96
修改命名
1个文件已修改
5 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncUserService.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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);
}