简化预订单详情页面参数获取
移除了 BeforehandOrderValidate 类的 goCheck 调用,直接使用 this->request->get() 获取参数,简化了参数获取流程。
This commit is contained in:
parent
7c56058424
commit
06a7056961
@ -131,7 +131,7 @@ class BeforehandOrderController extends BaseAdminController
|
|||||||
*/
|
*/
|
||||||
public function detail()
|
public function detail()
|
||||||
{
|
{
|
||||||
$params = (new BeforehandOrderValidate())->goCheck('detail');
|
$params = $this->request->get();
|
||||||
$result = BeforehandOrderLogic::detail($params);
|
$result = BeforehandOrderLogic::detail($params);
|
||||||
return $this->data($result);
|
return $this->data($result);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user