소스 검색

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);
             }