Procházet zdrojové kódy

protocol改为固定值https,防止发送有问题

ellisran před 1 rokem
rodič
revize
a9e5a8320d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/service/notice_again.js

+ 1 - 1
app/service/notice_again.js

@@ -41,7 +41,7 @@ module.exports = app => {
                 datas.sms_type = type;
                 datas.origin_url = JSON.stringify({
                     host: this.ctx.host,
-                    protocol: this.ctx.protocol,
+                    protocol: 'https', // 改为固定防止发送有问题
                 });
                 await transaction.insert(this.tableName, datas);
             }