message
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
8364598e7d
commit
342daaf011
|
|
@ -52,8 +52,7 @@ namespace _2021_backend.Controllers
|
|||
sub.Host = stu.Guid;
|
||||
Context.Submissions.Add(sub);
|
||||
Context.SaveChanges();
|
||||
|
||||
//await TencentSMS.Send(Context, SMSType.Signed, stu, _2021_backend.Models.User.Bot.stuID);
|
||||
await TencentSMS.Send(Context, SMSType.Signed, stu, _2021_backend.Models.User.Bot.stuID);
|
||||
return Ok(ApiResponse.Success("success"));
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ namespace _2021_backend.Utils
|
|||
break;
|
||||
case SMSType.Signed:
|
||||
sms.Type = SMSType.Signed;
|
||||
req.TemplateParamSet = new string[] { stu.Name, stu.Stuid };
|
||||
req.TemplateParamSet = new string[] { stu.Name };
|
||||
req.TemplateId = SMSID_signed;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@
|
|||
"ADMIN_USERNAME": "zjueva",
|
||||
"ADMIN_PASSWORD": "a",
|
||||
"SMS_APPID": "1400562126",
|
||||
"SMS_ID_ACCEPT": "1089597",
|
||||
"SMS_ID_ACCPET": "1163892",
|
||||
"SMS_ID_REJECT": "1089595",
|
||||
"SMS_ID_SUBMITTED": "1089587",
|
||||
"SMS_ID_SUBMITTED": "1163892",
|
||||
"SMS_ID_TIMESET": "1131089",
|
||||
"SMS_ID_TIMESELECT": "1131090",
|
||||
"TENCENT_ID": "AKIDYv5JGwKSJtCE0VjhOpyqSotgDTSaYIsF",
|
||||
|
|
|
|||
Loading…
Reference in New Issue