ddd
This commit is contained in:
parent
12ad5f2760
commit
dd16e0614f
|
@ -230,14 +230,15 @@ public class MyManage : MonoBehaviour
|
|||
|
||||
HttpPractiseService getPractiseInfo = new HttpPractiseService();
|
||||
ResponObject responObject = getPractiseInfo.UploadAnswer(startMode.practiseId, userData.id, answers);
|
||||
Debug.Log("提交成绩 : " + JsonConvert.SerializeObject(responObject));
|
||||
if (responObject.code == "0")
|
||||
{
|
||||
string data = responObject.data.ToString();
|
||||
Debug.Log("提交练习" + data);
|
||||
Debug.Log("提交练习成绩成功:" + data);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError(responObject.msg);
|
||||
Debug.LogError("提交练习成绩失败:" +responObject.msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -297,14 +298,15 @@ public class MyManage : MonoBehaviour
|
|||
Debug.Log(JsonConvert.SerializeObject(answers));
|
||||
HttpExamService getPractiseInfo = new HttpExamService();
|
||||
ResponObject responObject = getPractiseInfo.UploadAnswer(startMode.examId, userData.id, answers);
|
||||
Debug.Log("提交成绩 : "+JsonConvert.SerializeObject(responObject));
|
||||
if (responObject.code == "0")
|
||||
{
|
||||
string data = responObject.data.ToString();
|
||||
Debug.Log("提交考试:" + data);
|
||||
Debug.Log("提交考试成绩成功:" + data);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError(responObject.msg);
|
||||
Debug.LogError("提交考试成绩失败:"+responObject.msg);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue