mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-03 00:10:38 +00:00
修改Validate生成
This commit is contained in:
parent
5b3e33f721
commit
ba7afc38d4
@ -542,7 +542,7 @@ class SystemCrudServices extends BaseServices
|
||||
$controller = app()->make(Controller::class);
|
||||
$controller->setFilePathName($filePath['controller'] ?? '')->setbasePath($basePath)->handle($tableName, [
|
||||
'usePath' => $service->getUsePath(),
|
||||
'validateName' => '\\' . str_replace('/', '\\', $validate->getUsePath()) . '::class',
|
||||
'validateName' => '\\' . str_replace('/', '\\', $validate->getUsePath()) . 'Validate::class',
|
||||
'field' => array_column($options['fromField'], 'field'),
|
||||
]);
|
||||
//生成路由
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user