mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 07:50:37 +00:00
修改返回数据
This commit is contained in:
parent
31ad2c6e5e
commit
93a8e09e65
@ -390,9 +390,9 @@ class SystemCrud extends AuthController
|
||||
$newRoute = [];
|
||||
foreach ($routeList as $item) {
|
||||
if ($item['methods'] == 'GET') {
|
||||
if (strstr('create', $item['api_url'])) {
|
||||
if (strstr($item['api_url'], 'create')) {
|
||||
$key = 'create';
|
||||
} else if (strstr('edit', $item['api_url'])) {
|
||||
} else if (strstr($item['api_url'], 'edit')) {
|
||||
$key = 'edit';
|
||||
} else {
|
||||
$key = 'index';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user