| | |
| | | |
| | | 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; |
| | | |
| | |
| | | * @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); |
| | | } |