public void LoginCallback(string LoginInfo) { JsonData jsrr = JsonMapper.ToObject(LoginInfo); SetMassage(LoginInfo); DemoController.showLoading(); if (jsrr[IS_SUCCESS] != null) { CommonDic.getInstance().isSuccess = jsrr[IS_SUCCESS].ToString(); } if (jsrr[MSG] != null) { CommonDic.getInstance().loginMsg = jsrr[MSG].ToString(); } Debug.Log("PXRLog LoginCallback LoginInfo:" + LoginInfo); }
public void QueryOrPayCallback(string queryOrPayInfo) { JsonData jsrr = JsonMapper.ToObject(queryOrPayInfo); if (jsrr[CODE] != null) { CommonDic.getInstance().code = jsrr["code"].ToString(); } if (jsrr[MSG] != null) { CommonDic.getInstance().msg = jsrr["msg"].ToString(); } if (jsrr != null) { CommonDic.getInstance().order_info = jsrr[1].ToString(); } SetMassage(queryOrPayInfo); DemoController.showLoading(); Debug.Log("PXRLog QueryOrPayCallback queryOrPayInfo:" + queryOrPayInfo); }