问卷:修复回调推送code
This commit is contained in:
@@ -296,6 +296,6 @@ export async function sendSurveyMail(code: string) {
|
|||||||
console.log('***** sendSurveyMail survey', survey);
|
console.log('***** sendSurveyMail survey', survey);
|
||||||
|
|
||||||
await sendMailByContent(MAIL_TYPE.SEND_MAIL, rec.roleId, { goods: survey.reward, params: [survey.mailContent] });
|
await sendMailByContent(MAIL_TYPE.SEND_MAIL, rec.roleId, { goods: survey.reward, params: [survey.mailContent] });
|
||||||
await sendMessageToUserWithSuc(rec.roleId, PUSH_ROUTE.DELETE_SURVEY, { code: rec.code });
|
await sendMessageToUserWithSuc(rec.roleId, PUSH_ROUTE.DELETE_SURVEY, { code: survey.code });
|
||||||
rec = await SurveyRecModel.send(rec.code);
|
rec = await SurveyRecModel.send(rec.code);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user