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);
   }
 }