|
@@ -775,7 +775,7 @@ module.exports = app => {
|
|
|
const stageInfo = await this.ctx.service.stage.getDataById(audit.sid);
|
|
|
const shenpiUrl = await this.ctx.helper.urlToShort(this.ctx.protocol + '://' + this.ctx.host + '/wap/tender/' + this.ctx.tender.id + '/stage/' + stageInfo.order);
|
|
|
const users = this._.map(this.ctx.stage.auditAssists.filter(x => {return x.user_id === preAuditor.aid}), 'ass_user_id');
|
|
|
- user.push(preAuditor.aid);
|
|
|
+ users.push(preAuditor.aid);
|
|
|
await this.ctx.helper.sendAliSms(users, smsTypeConst.const.JL, smsTypeConst.judge.approval.toString(), SmsAliConst.template.stage_check, {
|
|
|
qi: stageInfo.order,
|
|
|
code: shenpiUrl,
|