Commit a937c0f0 authored by zhangzhe's avatar zhangzhe

刷新首页钱数

parent 4b67e5c9
...@@ -39,6 +39,9 @@ public class HSRPVM : MonoBehaviour ...@@ -39,6 +39,9 @@ public class HSRPVM : MonoBehaviour
// 领取后请求获取奖励接口, 预加载 // 领取后请求获取奖励接口, 预加载
RequestInternetForGetReward(); RequestInternetForGetReward();
// 刷新首页钱数
EventCenter.Broadcast(MyEventType.RefreshHomeInfo);
}), new Action<string, string>((code, errMsg) => }), new Action<string, string>((code, errMsg) =>
{ {
Debug.unityLogger.Log("领取手速红包奖励网络请求失败" + code + errMsg); Debug.unityLogger.Log("领取手速红包奖励网络请求失败" + code + errMsg);
......
...@@ -258,6 +258,8 @@ public class StartControl : MonoBehaviour ...@@ -258,6 +258,8 @@ public class StartControl : MonoBehaviour
{ {
EventCenter.Broadcast(MyEventType.FlyHongbao); EventCenter.Broadcast(MyEventType.FlyHongbao);
EventCenter.Broadcast(MyEventType.RefreshHomeInfo);
}), new Action<string, string>((code, errMsg) => }), new Action<string, string>((code, errMsg) =>
{ {
Debug.unityLogger.Log("热启动看广告加红包请求Error Code" + code + "msg" + errMsg); Debug.unityLogger.Log("热启动看广告加红包请求Error Code" + code + "msg" + 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