Commit bf801037 authored by fengchao's avatar fengchao
Browse files

fix(code):增加回调log

parent 6c44ef6c
...@@ -150,6 +150,8 @@ public class PlatformCallback : MonoBehaviour ...@@ -150,6 +150,8 @@ public class PlatformCallback : MonoBehaviour
public void onPayGoodsList(string jsonStr) public void onPayGoodsList(string jsonStr)
{ {
Debug.Log("Unity 收到商品列表: " + jsonStr);
NativeLogger.I("fastsdk_unity_result", "[Unity] onPayGoodsList called with message: " + jsonStr); NativeLogger.I("fastsdk_unity_result", "[Unity] onPayGoodsList called with message: " + jsonStr);
//goodsList = JsonConvert.DeserializeObject<List<GoodsInfo>(jsonStr); //goodsList = JsonConvert.DeserializeObject<List<GoodsInfo>(jsonStr);
// 方法一:直接解析为List<GoodsInfo> // 方法一:直接解析为List<GoodsInfo>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment