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