合并分支 'master-server' 到 'master'
gx异步执行更新列表页 查看合并请求 !1343
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -70,11 +70,11 @@ class UpdateRoute extends Command | @@ -70,11 +70,11 @@ class UpdateRoute extends Command | ||
| 70 | continue; | 70 | continue; |
| 71 | } | 71 | } |
| 72 | if($settingInfo !== false){ | 72 | if($settingInfo !== false){ |
| 73 | - if($settingInfo['anchor_page_num'] == 0){ | ||
| 74 | - $settingInfo['anchor_page_num'] = 1; | ||
| 75 | - } | ||
| 76 | if(empty($settingInfo['anchor_setting'])){ | 73 | if(empty($settingInfo['anchor_setting'])){ |
| 77 | - $settingInfo['anchor_setting'] = ["3","4","5"]; | 74 | + $settingInfo['anchor_setting'] = '["3","4","5"]'; |
| 75 | + } | ||
| 76 | + if(empty($settingInfo['anchor_page_num'])){ | ||
| 77 | + $settingInfo['anchor_page_num'] = 1; | ||
| 78 | } | 78 | } |
| 79 | $data = [ | 79 | $data = [ |
| 80 | 'anchor_setting'=>$settingInfo['anchor_setting'], | 80 | 'anchor_setting'=>$settingInfo['anchor_setting'], |
-
请 注册 或 登录 后发表评论