mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 优化返回
This commit is contained in:
parent
ec87456d59
commit
cb37a4cf22
@ -57,6 +57,10 @@ class ChangeAdminMenuField extends Migrator {
|
|||||||
'limit' => MysqlAdapter::INT_TINY,
|
'limit' => MysqlAdapter::INT_TINY,
|
||||||
'default' => 1,
|
'default' => 1,
|
||||||
'comment' => '是否验证权限,1-鉴权,0-放行'
|
'comment' => '是否验证权限,1-鉴权,0-放行'
|
||||||
|
])->addColumn('method', 'integer', [
|
||||||
|
'limit' => MysqlAdapter::INT_TINY,
|
||||||
|
'default' => 1,
|
||||||
|
'comment' => '请求方式,1-GET, 2-POST, 3-PUT, 4-DELETE'
|
||||||
])->update();
|
])->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user