Skip to content

Commit

Permalink
v8.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
simplewindorg committed Sep 27, 2023
1 parent b7f747c commit baf0dd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ ThinkCMF核心API扩展
===============

## 更新日志
### v8.0.5
* 规范API返回格式

### v8.0.4
* 规范API返回格式

Expand Down
2 changes: 1 addition & 1 deletion src/admin/controller/PluginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function index()
$pluginModel = new PluginModel();
$plugins = $pluginModel->getList();
$plugins = array_values($plugins);
$this->success("success", ['plugins' => $plugins, 'total' => count($plugins)]);
$this->success("success", ['list' => $plugins, 'total' => count($plugins)]);
}

/**
Expand Down

0 comments on commit baf0dd3

Please sign in to comment.