Browse Source

引导bug

cyzhao 5 tháng trước cách đây
mục cha
commit
1fce9300b8
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      Gameserver/App/process/UserProc.php

+ 3 - 1
Gameserver/App/process/UserProc.php

@@ -66,7 +66,9 @@ class UserProc {
         list($guideType,$guide_type_forceSave) = req()->paras;                                       # 参数: 新手引导步骤
                                         
         ctx()->base(true)->guide_type = $guideType;
-        ctx()->base(true)->guide_type_forceSave = $guide_type_forceSave;
+        
+        $forceSave = guide_type_forceSave == true?1:0;
+        ctx()->base(true)->guide_type_forceSave = $forceSave;
                
         UserProc::updateUserInfo();                                             # 回写数据
         return Resp::ok(array());