|
|
@@ -115,7 +115,7 @@ class ThirdOrderLogic extends BaseLogic
|
|
|
if(!$thirdOrders->isEmpty()){
|
|
|
$orderData['work_id'] = $thirdOrders->work_id;
|
|
|
}
|
|
|
- if(empty($orderData['work_id']) and !$product->isEmpty()){
|
|
|
+ if(empty($orderData['work_id']) and !$product->isEmpty() and !empty($product['goods_id'])){
|
|
|
$goods = Goods::findOrEmpty($product['goods_id']);
|
|
|
$pattern = '/(?:省|市)([\w\s]+市)/u';
|
|
|
Db::startTrans();
|