|
@@ -53,9 +53,9 @@ class UserProc {
|
|
public static function clearGuideInfo(){
|
|
public static function clearGuideInfo(){
|
|
list($id) = req()->paras; # 参数:引导模块
|
|
list($id) = req()->paras; # 参数:引导模块
|
|
|
|
|
|
- if(in_array($id,ctx()->privateState->funUnlockRecord_3)){
|
|
|
|
- StlUtil::arrayRemove(ctx()->privateState->funUnlockRecord_3, $id);
|
|
|
|
- }
|
|
|
|
|
|
+// if(in_array($id,ctx()->privateState->funUnlockRecord_3)){
|
|
|
|
+// StlUtil::arrayRemove(ctx()->privateState->funUnlockRecord_3, $id);
|
|
|
|
+// }
|
|
|
|
|
|
UserProc::updateUserInfo(); # 回写数据
|
|
UserProc::updateUserInfo(); # 回写数据
|
|
return Resp::ok(array());
|
|
return Resp::ok(array());
|
|
@@ -72,6 +72,10 @@ class UserProc {
|
|
$forceSave = $guide_type_forceSave == true?1:0;
|
|
$forceSave = $guide_type_forceSave == true?1:0;
|
|
ctx()->base(true)->guide_type_forceSave = $forceSave;
|
|
ctx()->base(true)->guide_type_forceSave = $forceSave;
|
|
|
|
|
|
|
|
+ if(in_array($guideType,ctx()->privateState->funUnlockRecord_3) && $guide_type_forceSave==true){
|
|
|
|
+ StlUtil::arrayRemove(ctx()->privateState->funUnlockRecord_3, $guideType);
|
|
|
|
+ }
|
|
|
|
+
|
|
UserProc::updateUserInfo(); # 回写数据
|
|
UserProc::updateUserInfo(); # 回写数据
|
|
return Resp::ok(array());
|
|
return Resp::ok(array());
|
|
}
|
|
}
|