lrf 2 년 전
부모
커밋
20973126d9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/user/user.js

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

@@ -118,7 +118,7 @@ class UserService extends CrudService {
     await this.redis.set(`${this.bindPhoneKey}${id}`, value, 'EX', 300);
     // 发短信
     const data = { config: this.smsServiceConfig, template: 'bind', phone, params: { code } };
-    const url = `${this.smsServiceUrl}/sendEmail`;
+    const url = `${this.smsServiceUrl}/sendMessage`;
     await this.httpUtil.cpost(url, data);
   }
 }