guhongwei %!s(int64=3) %!d(string=hai) anos
pai
achega
6cdf3f7199
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/user/organization.js

+ 1 - 1
app/service/user/organization.js

@@ -88,7 +88,7 @@ class OrganizationService extends CrudService {
    * @param {Object} params 登陆信息
    * @property phone 手机号
    * @property password 密码
-   */phone
+   */
   async login({ phone, password }) {
     const object = await this.model.findOne({ phone, isdel: '0' }, '+password');
     if (!object) throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '未找到用户的信息');