|
@@ -387,6 +387,16 @@ class UserProc {
|
|
|
);
|
|
|
return Resp::ok($ret);
|
|
|
} else { # 2.如果玩家已存在,则处理普通登录流程
|
|
|
+ if($game->store->storage ==null){
|
|
|
+ $key = 1;
|
|
|
+ $key2 = 2;
|
|
|
+
|
|
|
+ $game->store->storage = ObjectInit();
|
|
|
+ $game->store->storage->$key = new Ins_storage();
|
|
|
+ $game->store->storage->$key2 = new Ins_storage();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
req()->game = $game; # 给Req挂载玩家数据
|
|
|
UserProc::checkContidays(); # 连续登录,状态检查
|
|
|
PayProc::m_refreshChargeOrders(); # 刷新订单, 多平台版本
|