This commit is contained in:
aozhiwei 2023-08-09 14:28:28 +08:00
commit 77e17b6806
2 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class ServerSwitch(object):
],
'response': [
_common.RspHead(),
['!open_list', [0], '开放的功能列表 1:悬赏任务'],
['!open_list', [0], '开放的功能列表 1:悬赏任务 3禁用商城、market所有和这次修改相关的'],
]
},
]

View File

@ -11,6 +11,9 @@ class ServerSwitchController extends BaseAuthedController {
if (myself()->_getNowTime() > 1655337600) {
array_push($openList, 2);
}
if (SERVER_ENV == _ONLINE) {
array_push($openList, 3);
}
myself()->_rspData(array(
'open_list' => $openList
));