Bladeren bron

fix: 更新信息凭证

fanyanpeng 3 jaren geleden
bovenliggende
commit
e99b9be394
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2 2
      server/controller/user.js
  2. 2 2
      server/util/aliClient.js

+ 2 - 2
server/controller/user.js

@@ -105,8 +105,8 @@ class UserController {
       }
       }
       let params =  {
       let params =  {
         PhoneNumbers: phone,
         PhoneNumbers: phone,
-        SignName: 'seeccoder',
-        TemplateCode: 'SMS_181555598',
+        SignName: 'SEECODER',
+        TemplateCode: 'SMS_253920073',
         TemplateParam: '{"code":"' + code + '"}'
         TemplateParam: '{"code":"' + code + '"}'
       };
       };
       let options = {
       let options = {

+ 2 - 2
server/util/aliClient.js

@@ -1,8 +1,8 @@
 const RPCClient = require('@alicloud/pop-core').RPCClient;
 const RPCClient = require('@alicloud/pop-core').RPCClient;
 
 
 const client = new RPCClient({
 const client = new RPCClient({
-  accessKeyId: 'LTAI4FiAXXyNfYJLweBXpKPx',
-  accessKeySecret: 'IBoC7KGkZHOvxZQIfQgp98ZY48AVjW',
+  accessKeyId: 'LTAI5t5ZwNZ6a4ptUXuiy7of',
+  accessKeySecret: 'zC4VEHInTiGDNWGakVvkUPrZSzS1P2',
   endpoint: 'https://dysmsapi.aliyuncs.com',
   endpoint: 'https://dysmsapi.aliyuncs.com',
   apiVersion: '2017-05-25'
   apiVersion: '2017-05-25'
 });
 });