guhongwei 3 years ago
parent
commit
6cdf3f7199
1 changed files with 1 additions and 1 deletions
  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, '未找到用户的信息');