|
@@ -3,7 +3,7 @@ package com.diagbot.client;
|
|
|
import com.diagbot.client.hystrix.UserServiceHystrix;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.entity.User;
|
|
|
-import com.diagbot.entity.UserOrgVO;
|
|
|
+import com.diagbot.dto.UserOrgDTO;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -26,7 +26,8 @@ public interface UserServiceClient {
|
|
|
RespDTO<User> getUser(@RequestHeader(value = "Authorization") String token, @PathVariable("username") String username);
|
|
|
|
|
|
@PostMapping(value = "/user/getUserAndOrg")
|
|
|
- RespDTO<Map<Long, UserOrgVO>> getUserAndOrg(@RequestBody List<Long> userIds);
|
|
|
+ RespDTO<Map<Long, UserOrgDTO>> getUserAndOrg(@RequestBody List<Long> userIds);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|