|
|
@@ -144,7 +144,7 @@ class OrderService extends BaseService
|
|
|
public function getOrderInfo($id)
|
|
|
{
|
|
|
$statusArr = [1 => '待支付', 2 => '待发货', 3 => '待收货', 4 => '已完成'];
|
|
|
- $info = $this->model->from('orders as a')->with(['orderGoods'])
|
|
|
+ $info = $this->model->from('orders as a')->with(['orderGoods','store'])
|
|
|
->leftJoin('member as b', 'b.id', '=', 'a.user_id')
|
|
|
->where(['a.id' => $id, 'a.mark' => 1])
|
|
|
->select(['a.*'])
|