Commit a5048916 by jx-art

查询详细信息 返回对象信息

parent 5659cdb1
......@@ -109,8 +109,6 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
goodsRpc.setName(purchaseRpc.getSupplierName());
emails.add(goodsRpc);
}
logger.error("是否有只进来了?查看数量\t"+emails.size());
logger.error(emails.toString());
} else if (commander.equals("计划")) {
String detail = pfuApiRpcService.getDetail(goodsInfos);
logger.error("根据商品查看商品负责计划接口返回值\t"+detail);
......
package com.netease.mail.yanxuan.change.integration.flow.ius;
import com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse;
import com.netease.yanxuan.flowx.sdk.meta.dto.base.FlowDataDTO;
import com.netease.yanxuan.missa.client.annotation.MissaClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
......@@ -16,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestParam;
public interface FlowIusRpcService {
@GetMapping("/v1/qc/user/get")
String queryEmailInfo(@RequestParam(name = "uid")String uid);
AjaxResponse<IusUserInfoRsp> queryUserInfo(@RequestParam(name = "uid")String uid);
@GetMapping("/v1/qc/allTeam/pos/queryLeaderChain")
String queryLeaderChain(@RequestParam(name = "uid")String uid);
......
package com.netease.mail.yanxuan.change.integration.flow.ius;
import lombok.Data;
/**
* @author WangJiaXiang
* @date 2022/11/25/025$
* 用来接受查询用户信息接口
*/
@Data
public class IusUserInfoRsp {
private Long createTime;
private String extEmail;
private Long firstLoginTime;
private Long lastLoginTime;
private Boolean locked;
private String name;
private Integer orgPosId;
private Integer srcCode;
private Integer staffStatus;
private String uid;
private String userId;
private String virtual;
}
......@@ -10,6 +10,8 @@ import com.netease.mail.yanxuan.change.dal.meta.model.req.ChangeConfigReq;
import com.netease.mail.yanxuan.change.dal.meta.model.rpc.GoodsResponseRpc;
import com.netease.mail.yanxuan.change.integration.flow.ius.FlowIusRpcService;
import com.netease.mail.yanxuan.change.integration.flow.ius.IusDepartmentReq;
import com.netease.mail.yanxuan.change.integration.flow.ius.IusUserInfoRsp;
import com.netease.yanxuan.flowx.sdk.meta.controller.communal.AjaxResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
......@@ -112,8 +114,8 @@ public class ChangeConfigController {
private FlowIusRpcService iusRpcService;
@GetMapping("/test")
public String queryGoods(){
return iusRpcService.queryEmailInfo("grp.gyhtest1001@corp.netease.com");
public AjaxResponse<IusUserInfoRsp> queryGoods(){
return iusRpcService.queryUserInfo("grp.gyhtest1001@corp.netease.com");
}
@GetMapping("/test1")
......
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