|
|
public function getOrderGoods($ids, $goods, $userId, $orderNo='')
|
|
public function getOrderGoods($ids, $goods, $userId, $orderNo='')
|
|
|
$userInfo = MemberModel::where(['id' => $userId, 'mark' => 1])
|
|
$userInfo = MemberModel::where(['id' => $userId, 'mark' => 1])
|
|
|
->select(['id','openid', 'discount_point', 'status'])
|
|
->select(['id','openid', 'discount_point', 'status'])
|
|
|
$list = $this->model->whereIn('id', $ids)
|
|
$list = $this->model->whereIn('id', $ids)
|
|
|
->select(['id as goods_id','goods_name','category_id','store_id','delivery_fee','sku_type','price','stock','unit','weight','thumb','sku_type'])
|
|
->select(['id as goods_id','goods_name','category_id','store_id','delivery_fee','sku_type','price','stock','unit','weight','thumb','sku_type'])
|