Commit b91e5d5471533548e51eb7c9e4ae9f142a297246

Authored by 张志伟
1 parent 41b33b12

:construction: 跟进池接口调整

fw-valhalla-rpc/src/main/java/cn/fw/valhalla/rpc/erp/UserRoleRpcService.java
... ... @@ -5,6 +5,7 @@ import cn.fw.erp.sdk.api.UserRoleApi;
5 5 import cn.fw.erp.sdk.api.result.UserRoleDataRange;
6 6 import cn.fw.erp.sdk.api.result.UserRoleInfo;
7 7 import com.alibaba.fastjson.JSON;
  8 +import com.alibaba.fastjson.JSONObject;
8 9 import lombok.extern.slf4j.Slf4j;
9 10 import org.springframework.stereotype.Service;
10 11  
... ... @@ -43,7 +44,7 @@ public class UserRoleRpcService {
43 44 }
44 45 try {
45 46 Message<List<UserRoleDataRange>> msg = userRoleApi.queryUserRoleDataRange(userId, roleCode);
46   - log.warn("调用ERP系统查询用户数据范围,userId:{},roleCode:{}, result:{}", userId, roleCode, msg);
  47 + log.warn("调用ERP系统查询用户数据范围,userId:{},roleCode:{}, result:{}", userId, roleCode, JSONObject.toJSONString(msg));
47 48 if (!msg.isSuccess()) {
48 49 return Collections.emptyList();
49 50 }
... ...