Commit 56181193 authored by LiLiuZhou's avatar LiLiuZhou

1

parent 93f53a69
...@@ -18,9 +18,10 @@ public class MusicPanel : BasePanel ...@@ -18,9 +18,10 @@ public class MusicPanel : BasePanel
#region 通过数据初始化面板 #region 通过数据初始化面板
Dictionary<string, object> paras = new Dictionary<string, object>(); Dictionary<string, object> paras = new Dictionary<string, object>();
paras.Add("song_id", 1); paras.Add("song_id", 0);
HttpTool.Instance._Get("app/v1/watermelon/songs_list", paras, new Action<SongBean>((result) => HttpTool.Instance._Get("app/v1/watermelon/songs_list", paras, new Action<SongBean>((result) =>
{ {
print(result);
for (int i = 0; i < result.list.Count; i++) for (int i = 0; i < result.list.Count; i++)
{ {
GameObject obj = ResMgr.Getinstance().Load<GameObject>("Cells/MusicCell"); GameObject obj = ResMgr.Getinstance().Load<GameObject>("Cells/MusicCell");
......
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