Sfoglia il codice sorgente

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

ellisran 1 anno fa
parent
commit
a9e5a8320d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
             }