浏览代码

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

ellisran 1 年之前
父节点
当前提交
a9e5a8320d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
             }