测试API发货
This commit is contained in:
@@ -607,7 +607,7 @@ class WareController extends BaseAdminController
|
||||
if (empty($orderId)) {
|
||||
throw new Exception('订单id不能为空'. $orderId);
|
||||
}
|
||||
$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'] : 20;
|
||||
\Yii::$app->queue->delay($orderAutoReceivedTime)->push(new ProductOrderAutoReceivedJob([
|
||||
'orderId' => $orderId
|
||||
]));
|
||||
|
||||
Reference in New Issue
Block a user