调整后台发货
This commit is contained in:
@@ -61,6 +61,7 @@ class AjaxController
|
||||
->get()
|
||||
->map(function ($sku) use ($address) {
|
||||
$stockData = $address->user->getStockData();
|
||||
info($stockData);
|
||||
return [
|
||||
'id' => $sku->id,
|
||||
'text' => $sku->goods->name."(库存:{$stockData['residue']})",
|
||||
|
||||
@@ -51,7 +51,7 @@ trait OrderActions
|
||||
event(new OrderPaid($this));
|
||||
|
||||
//增加记录
|
||||
$this->addTimeline();
|
||||
// $this->addTimeline();
|
||||
|
||||
return true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user