Commit cceaabf2 by jx-art

根据Uid查询用户上级

parent fe18110f
......@@ -3,6 +3,7 @@ package com.netease.mail.yanxuan.change.integration.flow.ius;
import com.netease.yanxuan.missa.client.annotation.MissaClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
......@@ -17,7 +18,10 @@ public interface FlowIusRpcService {
@GetMapping("/v1/qc/user/get")
String queryEmailInfo(@RequestParam(name = "uid")String uid);
@GetMapping("/v1/qc/user/queryLeaderChain")
@GetMapping("/v1/qc/allTeam/pos/queryLeaderChain")
String queryLeaderChain(@RequestParam(name = "uid")String uid);
@PostMapping("/v1/qc/user/queryLeaderChain")
String queryDepartment(@RequestBody IusDepartmentReq uid);
}
......@@ -120,4 +120,8 @@ public class ChangeConfigController {
return iusRpcService.queryDepartment(new IusDepartmentReq(strings));
}
@GetMapping("/test2")
public String queryGoods2(){
return iusRpcService.queryLeaderChain("grp.gyhtest1001@corp.netease.com");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment