【类 型】:test

【主	题】:
【描	述】:
	[原因]:
	[过程]:
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-07-05 15:05:03 +08:00
parent 07040eee71
commit df1400724b

View File

@ -749,7 +749,6 @@ class AdminController extends PublicController
// 添加 shop_id 条件
if ($_REQUEST['shop_id'] != '') {
$where['shop_id'] = $_REQUEST['shop_id'];
$this->publish("demo", $_REQUEST['shop_id']);
}
// 添加 start_time 和 end_time 条件
@ -757,10 +756,11 @@ class AdminController extends PublicController
$where['order_time'] = array('between', array($_REQUEST['start_time'], $_REQUEST['end_time']));
}
// // 添加 main_status 条件
// if (isset($_REQUEST['main_status']) && is_array($_REQUEST['main_status'])) {
// $where['main_status'] = array('in', $_REQUEST['main_status']);
// }
// 添加 main_status 条件
if (isset($_REQUEST['main_status']) && is_array($_REQUEST['main_status'])) {
$where['main_status'] = array('in', $_REQUEST['main_status']);
$this->publish("demo", $_REQUEST['main_status']);
}
// // 添加 shipment_status 条件
// if (isset($_REQUEST['shipment_status']) && is_array($_REQUEST['shipment_status'])) {