Przeglądaj źródła

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

ellisran 1 rok temu
rodzic
commit
a9e5a8320d
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
             }