ソースを参照

fix: 更新信息凭证

fanyanpeng 2 年 前
コミット
e99b9be394
2 ファイル変更4 行追加4 行削除
  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 =  {
         PhoneNumbers: phone,
-        SignName: 'seeccoder',
-        TemplateCode: 'SMS_181555598',
+        SignName: 'SEECODER',
+        TemplateCode: 'SMS_253920073',
         TemplateParam: '{"code":"' + code + '"}'
       };
       let options = {

+ 2 - 2
server/util/aliClient.js

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