This commit is contained in:
aozhiwei 2024-08-01 18:45:25 +08:00
parent e0cf6486ec
commit 66b6154996

View File

@ -62,6 +62,9 @@ class GMController extends BaseAuthedController {
},
'.loot' => function () use($params) {
$this->lootTest($params);
},
'.clear_big_wheel' => function () use($params) {
$this->clearBigWheel($params);
}
);
$func = getXVal($cmdHash, $cmd);
@ -82,6 +85,7 @@ class GMController extends BaseAuthedController {
.setsystime //设置服务器时间,示例:.setsystime 2021-12-08 00:00:00
.reset_mission //重置任务
.loot 索引ID 次数 //测试掉落系统数据,示例:.loot 1030 10
.clear_big_wheel clear big wheel data
END
));
}
@ -282,4 +286,9 @@ END
));
}
private function clearBigWheel($params){
$key = myself()->_getModelConstant('MidData', 'BIG_WHEEL_TYPE');
myself()->_callModelStatic('MidData', 'setData', $key, json_encode(array()));
myself()->_rspOk();
}
}