测试自动收货时间 1分钟

This commit is contained in:
2024-09-23 14:49:57 +08:00
parent 31f2114920
commit 7bfb626896
2 changed files with 3 additions and 3 deletions

View File

@@ -536,8 +536,7 @@ class WareController extends BaseAdminController
//订单自动收货- 发货7天后
$config = \Yii::$app->params;
// $orderAutoReceivedTime = isset($config['product_order']['received_time']) ? $config['product_order']['received_time'] : 7*24*3600;
$orderAutoReceivedTime = isset($config['product_order']['received_time']) ? $config['product_order']['received_time'] : 1*3600;
$orderAutoReceivedTime = isset($config['product_order']['received_time']) ? $config['product_order']['received_time'] : 7*24*3600;
\Yii::$app->queue->delay($orderAutoReceivedTime)->push(new ProductOrderAutoReceivedJob([
'orderId' => $ProductOrder->id
]));

View File

@@ -3,7 +3,8 @@
return [
'product_order' => [
'over_time' => 24*3600,//秒,自动取消时间
'received_time' => 7*24*3600,//自动确认收货时间
'received_time' => 3600,//自动确认收货时间
// 'received_time' => 7*24*3600,//自动确认收货时间
'forbidden_refund_time' => 30*24*3600, //不允许退款时间
'settlement_time' => 0//7*24*3600//订单发货 分账自动结算时间
],