Bladeren bron

经销商人员列表

qxp 4 jaren geleden
bovenliggende
commit
9e6dc5a570

+ 2 - 2
suishenbang-wxportal/suishenbang-wxportal-api/src/main/java/com/dgtly/wxportal/controller/WxPortalController.java

@@ -81,8 +81,8 @@ public class WxPortalController extends ApiBaseController {
         SysUserExt userExt = userExtService.selectSysUserExtById(Long.parseLong(userId));
         if (userExt!=null){
             if ("1".equals(userExt.getIsCustomerManager())){
-               List<SysUser> userList = userService.selectUserByOrgCode(userExt.getOrgCode());
-                return AjaxResult.success(userList);
+                List<SysUser> userList = userService.selectUserByOrgCode(userExt.getOrgCode());
+                return AjaxResult.success().putKV("userList",userList);
             }else{
                 return AjaxResult.error("不是负责人");
             }