|
@@ -438,12 +438,12 @@ namespace TEAMModelOS.Controllers
|
|
public async Task<IActionResult> SetStudnetScore(JsonElement jsonElement)
|
|
public async Task<IActionResult> SetStudnetScore(JsonElement jsonElement)
|
|
{
|
|
{
|
|
var (id, school) = HttpContext.GetApiTokenInfo();
|
|
var (id, school) = HttpContext.GetApiTokenInfo();
|
|
|
|
+ await _dingDing.SendBotMsg($"智音数据推送数据已接受\n参数:{jsonElement.ToJsonString()}", GroupNames.成都开发測試群組);
|
|
if (!jsonElement.TryGetProperty("answer", out JsonElement _answer)) return Ok(new { responseDate = new ResponseData<dynamic>() { code = RespondCode.ParamsError, msg = "answer参数错误", data = null } });
|
|
if (!jsonElement.TryGetProperty("answer", out JsonElement _answer)) return Ok(new { responseDate = new ResponseData<dynamic>() { code = RespondCode.ParamsError, msg = "answer参数错误", data = null } });
|
|
OAnswerUp oAnswer = _answer.ToObject<OAnswerUp>();
|
|
OAnswerUp oAnswer = _answer.ToObject<OAnswerUp>();
|
|
StudentArtResult studentArtResult = new();
|
|
StudentArtResult studentArtResult = new();
|
|
var cosmosClient = _azureCosmos.GetCosmosClient();
|
|
var cosmosClient = _azureCosmos.GetCosmosClient();
|
|
var ids = oAnswer.thirdAnswerId.Split("::");
|
|
var ids = oAnswer.thirdAnswerId.Split("::");
|
|
- await _dingDing.SendBotMsg($"智音数据推送数据已接受\n参数:{jsonElement.ToJsonString()}", GroupNames.成都开发測試群組);
|
|
|
|
if (ids.Length == 3)
|
|
if (ids.Length == 3)
|
|
{
|
|
{
|
|
string artId = ids[0];
|
|
string artId = ids[0];
|