瀏覽代碼

经销商人员列表

qxp 4 年之前
父節點
當前提交
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("不是负责人");
             }