|
|
|
@ -249,7 +249,7 @@ class OrderController extends Controller |
|
|
|
$ap = AgentProduct::query() |
|
|
|
->has('product') |
|
|
|
->with('coupon:agent_product_id,type,detail,agent_id,tag,start_at,end_at') |
|
|
|
->find($formData['id'], ['id', 'price', 'original_price', 'product_id']); |
|
|
|
->find($formData['id'], ['id', 'price', 'original_price', 'product_id', 'title', 'pictures']); |
|
|
|
|
|
|
|
if (!$ap) { |
|
|
|
return $this->error('产品信息不存在'); |
|
|
|
|