mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
feat: 完善curd生成控制器时,自动开启关联查询配置
This commit is contained in:
@@ -13,6 +13,8 @@ use think\App;
|
||||
class {{controllerName}} extends AdminController
|
||||
{
|
||||
|
||||
{{relationSearch}}
|
||||
|
||||
use \app\admin\traits\Curd;
|
||||
|
||||
public function __construct(App $app)
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* 是否关联查询.
|
||||
* @var bool
|
||||
*/
|
||||
protected $relationSearch = true;
|
||||
Reference in New Issue
Block a user