validate.php
364 字节
<?php
/**
* 验证规则
*/
return [
'manager_lists' => [
'allow_method' => 'get',
],
'manager_add' => [
'allow_method' => 'post',
],
'manager_edit' => [
'allow_method' => 'post',
],
'manager_status' => [
'allow_method' => 'get',
],
'com_code' => [
'allow_method' => 'post',
],
];