|
@@ -158,10 +158,7 @@ class EmailProc {
|
|
|
self::logMailDrawed(array($mailId), $uid, $zoneid); # 更新数据库中邮件的领取记录
|
|
|
UserProc::updateUserInfo();
|
|
|
$base = ctx()->base();
|
|
|
- return Resp::ok(array(# # 同步数据
|
|
|
-// 'gold' => $base->gold,
|
|
|
-// 'cash' => $base->cash,
|
|
|
-// 'resPoint' => $base->resPoint,
|
|
|
+ return Resp::ok(array(# # 同步数据
|
|
|
'store' => ctx()->store,
|
|
|
'hero' => ctx()->heros,
|
|
|
'baseInfo' => ctx()->base(),
|
|
@@ -212,11 +209,8 @@ class EmailProc {
|
|
|
}
|
|
|
$reward = implode(';', $arr); # 拼接下奖励字符串
|
|
|
UserProc::updateUserInfo();
|
|
|
- $base = ctx()->base();
|
|
|
return Resp::ok(array(# # 同步数据
|
|
|
- 'gold' => $base->gold,
|
|
|
- 'cash' => $base->cash,
|
|
|
- 'resPoint' => $base->resPoint,
|
|
|
+ 'baseInfo' => ctx()->base(),
|
|
|
'store' => ctx()->store,
|
|
|
'hero' => ctx()->heros,
|
|
|
'num' => $n,
|