style(app): 在 Core 控制器中增加产品参数处理
- 在 Core.php 文件中添加了对 'product' 参数的处理逻辑 - 当 'product' 参数存在时,将其赋值给 $this->product 属性
This commit is contained in:
parent
47b2ca9540
commit
6e494e5b86
@ -136,6 +136,7 @@ class Core extends Controller
|
||||
$product = input('product');
|
||||
if ($product) {
|
||||
$this->product = $product;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user