@@ -21,6 +21,9 @@ class ShopCouponController extends BaseController
$status = $get['status'] ?? 0;
if (!empty($status)) {
$where['status'] = $status;
+ if ($status == 1) {
+ $where['take'] = 1;
+ }
}
$ghsId = $get['ghsId'] ?? 0;
if (!empty($ghsId)) {
@@ -40,7 +40,7 @@ class dict
'onlinePay' => ['not' => 1, 'yes' => 2],
//客户采购时订单有效期10分钟
- 'sale_purchase_order_valid' => 30,
+ 'sale_purchase_order_valid' => 600,
//商家开单时订单有效期一个月
'kd_order_valid' => 2592000,