|
@@ -81,8 +81,8 @@ public class WxPortalController extends ApiBaseController {
|
|
SysUserExt userExt = userExtService.selectSysUserExtById(Long.parseLong(userId));
|
|
SysUserExt userExt = userExtService.selectSysUserExtById(Long.parseLong(userId));
|
|
if (userExt!=null){
|
|
if (userExt!=null){
|
|
if ("1".equals(userExt.getIsCustomerManager())){
|
|
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{
|
|
}else{
|
|
return AjaxResult.error("不是负责人");
|
|
return AjaxResult.error("不是负责人");
|
|
}
|
|
}
|