feat:chef
This commit is contained in:
@@ -42,13 +42,6 @@ class ChefController
|
||||
return (new ChefService())->chefDetailList();
|
||||
}
|
||||
|
||||
#[RequestMapping(path: "chef_info", methods: "GET")]
|
||||
#[Scene(scene: "chef_info")]
|
||||
public function chefInfo(chefRequest $request)
|
||||
{
|
||||
return (new chefService)->chefInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置厨师数据
|
||||
* @param ChefRequest $request
|
||||
@@ -61,15 +54,15 @@ class ChefController
|
||||
return (new ChefService)->settingChef();
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除厨师数据
|
||||
* @param ChefRequest $request
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: "delete", methods: "GET")]
|
||||
#[Scene(scene: "delete")]
|
||||
public function delete(chefRequest $request)
|
||||
{
|
||||
return (new chefService)->delete();
|
||||
}
|
||||
// /**
|
||||
// * 删除厨师数据
|
||||
// * @param ChefRequest $request
|
||||
// * @return array
|
||||
// */
|
||||
// #[RequestMapping(path: "delete", methods: "GET")]
|
||||
// #[Scene(scene: "delete")]
|
||||
// public function delete(chefRequest $request)
|
||||
// {
|
||||
// return (new chefService)->delete();
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user