问卷:修复回调推送code

This commit is contained in:
luying
2022-04-15 14:38:33 +08:00
parent 629af03645
commit 518830a16f

View File

@@ -296,6 +296,6 @@ export async function sendSurveyMail(code: string) {
console.log('***** sendSurveyMail survey', survey);
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);
}