Commit a70ddc62 authored by hanfeng's avatar hanfeng

Merge branch 'master-customer-management' into dev

parents 006f5a8c 94d4afaa
......@@ -60,7 +60,7 @@ public class AppStaffUserController extends BaseController<AppStaffUserBiz, AppS
baseBiz.insertSelective(appStaffUser);
return ObjectRestResponse.succ();
}
throw new BaseException("客户已存在");
return ObjectRestResponse.createFailedResult(ResultCode.FAILED_CODE,"客户已存在");
}
......@@ -100,7 +100,7 @@ public class AppStaffUserController extends BaseController<AppStaffUserBiz, AppS
baseBiz.updateSelectiveById(appStaffUser);
return ObjectRestResponse.succ();
}
throw new BaseException("客户已存在");
return ObjectRestResponse.createFailedResult(ResultCode.FAILED_CODE,"客户已存在");
}
}
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