modified 完善接口字段

This commit is contained in:
zhaoxiang 2019-06-30 15:13:45 +08:00
parent 4bf044fedc
commit c2c1c3da27

View File

@ -62,7 +62,7 @@ class App extends Base {
public function getAppInfo() {
$apiArr = AdminList::all();
foreach ($apiArr as $api) {
$res['apiList'][$api['groupHash']][] = $api;
$res['apiList'][$api['group_hash']][] = $api;
}
$groupArr = AdminGroup::all();
$groupArr = Tools::buildArrFromObj($groupArr);