后台:问卷
This commit is contained in:
@@ -294,8 +294,6 @@ export async function sendSurveyMail(code: string) {
|
||||
let survey = await SurveyModel.findBySurveyId(rec.surveyId);
|
||||
if(!survey) return false;
|
||||
|
||||
let reward = parseGoodStr(survey.reward);
|
||||
|
||||
await sendMailByContent(MAIL_TYPE.SEND_MAIL, rec.roleId, { goods: reward, params: [survey.mailContent] });
|
||||
await sendMailByContent(MAIL_TYPE.SEND_MAIL, rec.roleId, { goods: survey.reward, params: [survey.mailContent] });
|
||||
rec = await SurveyRecModel.send(rec.code);
|
||||
}
|
||||
Reference in New Issue
Block a user