Commit 261610dc authored by maxiaoliang's avatar maxiaoliang

完成填写信息的回调

parent d65ceb1e
...@@ -160,7 +160,7 @@ public class PlantTreeControl : MonoBehaviour ...@@ -160,7 +160,7 @@ public class PlantTreeControl : MonoBehaviour
// index = 3; // index = 3;
} }
//完成填写信息后 //完成填写信息后
public void FinishWriteInfo(int id) public void FinishWriteInfo(int id, Action<string> action)
{ {
Dictionary<string, object> parm = new Dictionary<string, object>(); Dictionary<string, object> parm = new Dictionary<string, object>();
parm.Clear(); parm.Clear();
...@@ -168,7 +168,7 @@ public class PlantTreeControl : MonoBehaviour ...@@ -168,7 +168,7 @@ public class PlantTreeControl : MonoBehaviour
HttpTool.Instance._Post("app/v1/game/module/exchange/choose", parm, new Action<GoodsBean>((bean) => HttpTool.Instance._Post("app/v1/game/module/exchange/choose", parm, new Action<GoodsBean>((bean) =>
{ {
// setItemData(bean); // setItemData(bean);
action(bean.no);
}), new Action<string, string>((code, errMsg) => }), new Action<string, string>((code, errMsg) =>
{ {
......
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