|
|
@ -387,7 +387,7 @@ class OrderController extends Controller |
|
|
{ |
|
|
{ |
|
|
$id = (int)request()->input('id'); |
|
|
$id = (int)request()->input('id'); |
|
|
|
|
|
|
|
|
$fields = ['id', 'agent_id', 'order_no', 'agent_product_id', 'num', 'price', 'title', 'picture', 'status', |
|
|
|
|
|
|
|
|
$fields = ['id', 'agent_id', 'order_no', 'agent_product_id', 'num', 'price', 'name', 'mobile', 'title', 'picture', 'status', |
|
|
'pay_type', 'coupon_id', 'paid_money', 'paid_at', 'refund_info', 'verify_code', 'created_at']; |
|
|
'pay_type', 'coupon_id', 'paid_money', 'paid_at', 'refund_info', 'verify_code', 'created_at']; |
|
|
$order = Order::with('agent:id,appid,appsecret') |
|
|
$order = Order::with('agent:id,appid,appsecret') |
|
|
->where('user_id', $this->user_id) |
|
|
->where('user_id', $this->user_id) |
|
|
|