This commit is contained in:
账号名 2023-11-27 17:56:14 +08:00
parent 698654da2d
commit ef1645c56a
2 changed files with 3 additions and 2 deletions

View File

@ -177,7 +177,7 @@ public class EquipmentCommon : MonoBehaviour
uploadLogMains.Add(uploadLogMain);
string uploadLogMainJson = JsonConvert.SerializeObject(uploadLogMains);
WWWForm wWWForm = new WWWForm();
wWWForm.AddField("wWWForm", uploadLogMainJson);
wWWForm.AddField("data", uploadLogMainJson);
StartCoroutine(PostString(Url_Addpracticelog, wWWForm, data => {
Debug.Log(data);
}));

View File

@ -29,7 +29,8 @@ public class SituationDisplay : MonoBehaviour
{
Debug.Log(GlobalFlag.currentThinkId);
Debug.Log(GlobalFlag.practiceSubjectID);
StartCoroutine(GetString(Url_Querypracticelog, 5, data => {
string PracticeId = GlobalFlag.practiceSubjectID;
StartCoroutine(GetString(Url_Querypracticelog+ PracticeId, 5, data => {
Debug.Log(data);
ReceivingLogMain receivingLogMain = new ReceivingLogMain();
receivingLogMain = JsonConvert.DeserializeObject<ReceivingLogMain>(data);