|
@@ -386,7 +386,7 @@ module.exports = app => {
|
|
await this.ctx.helper.sendWechat(nextAudit.audit_id, smsTypeConst.const.XD, smsTypeConst.judge.approval.toString(), wxConst.template.revise, wechatData);
|
|
await this.ctx.helper.sendWechat(nextAudit.audit_id, smsTypeConst.const.XD, smsTypeConst.judge.approval.toString(), wxConst.template.revise, wechatData);
|
|
// 其他参与人
|
|
// 其他参与人
|
|
const users = this._.pull(this._.map(auditList, 'audit_id'), audit.audit_id);
|
|
const users = this._.pull(this._.map(auditList, 'audit_id'), audit.audit_id);
|
|
- // users.push(revise.uid);
|
|
|
|
|
|
+ users.push(revise.uid);
|
|
// await this.ctx.helper.sendUserSms(users, smsTypeConst.const.XD,
|
|
// await this.ctx.helper.sendUserSms(users, smsTypeConst.const.XD,
|
|
// smsTypeConst.judge.result.toString(), '台账修订审批通过。');
|
|
// smsTypeConst.judge.result.toString(), '台账修订审批通过。');
|
|
await this.ctx.helper.sendAliSms(users, smsTypeConst.const.XD, smsTypeConst.judge.result.toString(), SmsAliConst.template.revise_result2, {
|
|
await this.ctx.helper.sendAliSms(users, smsTypeConst.const.XD, smsTypeConst.judge.result.toString(), SmsAliConst.template.revise_result2, {
|
|
@@ -441,6 +441,9 @@ module.exports = app => {
|
|
await this.ctx.helper.sendAliSms(users, smsTypeConst.const.XD, smsTypeConst.judge.result.toString(), SmsAliConst.template.revise_result2, {
|
|
await this.ctx.helper.sendAliSms(users, smsTypeConst.const.XD, smsTypeConst.judge.result.toString(), SmsAliConst.template.revise_result2, {
|
|
status: SmsAliConst.status.success,
|
|
status: SmsAliConst.status.success,
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+ users.push(revise.uid);
|
|
|
|
+
|
|
// 微信模板通知
|
|
// 微信模板通知
|
|
const wechatData2 = {
|
|
const wechatData2 = {
|
|
status: wxConst.status.success,
|
|
status: wxConst.status.success,
|