This commit is contained in:
parent
698654da2d
commit
ef1645c56a
|
@ -177,7 +177,7 @@ public class EquipmentCommon : MonoBehaviour
|
||||||
uploadLogMains.Add(uploadLogMain);
|
uploadLogMains.Add(uploadLogMain);
|
||||||
string uploadLogMainJson = JsonConvert.SerializeObject(uploadLogMains);
|
string uploadLogMainJson = JsonConvert.SerializeObject(uploadLogMains);
|
||||||
WWWForm wWWForm = new WWWForm();
|
WWWForm wWWForm = new WWWForm();
|
||||||
wWWForm.AddField("wWWForm", uploadLogMainJson);
|
wWWForm.AddField("data", uploadLogMainJson);
|
||||||
StartCoroutine(PostString(Url_Addpracticelog, wWWForm, data => {
|
StartCoroutine(PostString(Url_Addpracticelog, wWWForm, data => {
|
||||||
Debug.Log(data);
|
Debug.Log(data);
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -29,7 +29,8 @@ public class SituationDisplay : MonoBehaviour
|
||||||
{
|
{
|
||||||
Debug.Log(GlobalFlag.currentThinkId);
|
Debug.Log(GlobalFlag.currentThinkId);
|
||||||
Debug.Log(GlobalFlag.practiceSubjectID);
|
Debug.Log(GlobalFlag.practiceSubjectID);
|
||||||
StartCoroutine(GetString(Url_Querypracticelog, 5, data => {
|
string PracticeId = GlobalFlag.practiceSubjectID;
|
||||||
|
StartCoroutine(GetString(Url_Querypracticelog+ PracticeId, 5, data => {
|
||||||
Debug.Log(data);
|
Debug.Log(data);
|
||||||
ReceivingLogMain receivingLogMain = new ReceivingLogMain();
|
ReceivingLogMain receivingLogMain = new ReceivingLogMain();
|
||||||
receivingLogMain = JsonConvert.DeserializeObject<ReceivingLogMain>(data);
|
receivingLogMain = JsonConvert.DeserializeObject<ReceivingLogMain>(data);
|
||||||
|
|
Loading…
Reference in New Issue