|
|
@ -125,12 +125,12 @@ public class DeviceProController { |
|
|
|
/** |
|
|
|
* 根据人员获取项目组(feign调用接口) |
|
|
|
*/ |
|
|
|
@GetMapping("/feign/user") |
|
|
|
public List<Integer> listDeviceGroup(@RequestParam("userId") Long userId) { |
|
|
|
@GetMapping("/list/pro") |
|
|
|
public R<List<Integer>> listDeviceGroup(@RequestParam("userId") Long userId) { |
|
|
|
log.info("----------------------------开始调用feign接口查询项目组----------------------------"); |
|
|
|
List<Integer> result = deviceProService.listDeviceGroup(userId); |
|
|
|
log.info("----------------------------调用feign接口查询项目组结束----------------------------"); |
|
|
|
return result; |
|
|
|
return R.ok(result); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|