京东打印
This commit is contained in:
parent
077fa9a6a2
commit
73c15ac8b7
@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Log;
|
|||||||
|
|
||||||
class MiaoXuan extends BusinessClient
|
class MiaoXuan extends BusinessClient
|
||||||
{
|
{
|
||||||
public $domain = "http://shop.dev.chutang66.com";
|
public $domain = "http://shop.chutang66.com";
|
||||||
|
|
||||||
public function auth()
|
public function auth()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -48,6 +48,7 @@ class WayBillService
|
|||||||
$waybill->waybill_code = $resp['waybillNo'];
|
$waybill->waybill_code = $resp['waybillNo'];
|
||||||
$waybill->save();
|
$waybill->save();
|
||||||
|
|
||||||
|
BusinessOrder::query()->where('order_sn', $waybill->order_sn)->update(["shipping_status" => BusinessOrderShippingStatus::SHIPPED]);
|
||||||
//物流发货
|
//物流发货
|
||||||
event(new CreateLogisticEvent($waybill->shop_id, $waybill->order_sn, $waybill->waybill_code));
|
event(new CreateLogisticEvent($waybill->shop_id, $waybill->order_sn, $waybill->waybill_code));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use App\Http\Enum\BusinessOrderShippingStatus;
|
||||||
|
use App\Models\BusinessOrder;
|
||||||
use App\Services\Business\BusinessFactory;
|
use App\Services\Business\BusinessFactory;
|
||||||
use Illuminate\Foundation\Inspiring;
|
use Illuminate\Foundation\Inspiring;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user