lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
20973126d9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     await this.redis.set(`${this.bindPhoneKey}${id}`, value, 'EX', 300);
     // 发短信
     // 发短信
     const data = { config: this.smsServiceConfig, template: 'bind', phone, params: { code } };
     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);
     await this.httpUtil.cpost(url, data);
   }
   }
 }
 }