|
|
@@ -1,6 +1,7 @@
|
|
|
package com.aoyang.tms.feign;
|
|
|
|
|
|
import com.aoyang.common.result.Result;
|
|
|
+import com.aoyang.tms.entity.IdParam;
|
|
|
import com.aoyang.tms.entity.User;
|
|
|
import com.aoyang.tms.feign.result.Org;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
@@ -23,7 +24,7 @@ public interface UserFeignClient {
|
|
|
Result<Boolean> delete(@RequestParam("userId") Long userId);
|
|
|
|
|
|
@PostMapping("/user/user/find_by_id")
|
|
|
- Result<User> find(@RequestBody User user);
|
|
|
+ Result<User> find(@RequestBody IdParam idParam);
|
|
|
|
|
|
@PostMapping("/user/user/org/find")
|
|
|
Result<Org> findOrg(@RequestBody Org org);
|