测试自动收货时间 1分钟
This commit is contained in:
@@ -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
|
||||
]));
|
||||
|
||||
@@ -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//订单发货 分账自动结算时间
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user