lrf hace 2 años
padre
commit
20973126d9
Se han modificado 1 ficheros con 1 adiciones y 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);
     // 发短信
     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);
   }
 }