获取本地生活购物车商品
This commit is contained in:
parent
dd9c1e0db4
commit
2be66d1a84
@ -119,7 +119,7 @@ class LocalStoreGoods extends Api
|
||||
public function getCartGoods()
|
||||
{
|
||||
$form = $this->request->post();
|
||||
LocalStoreGoodsCartLogic::getCartGoods($form, $this->user_id);
|
||||
return JsonServer::success('', LocalStoreGoodsCartLogic::getCartGoods($form, $this->user_id));
|
||||
}
|
||||
|
||||
// 获取购物车数量
|
||||
|
||||
@ -69,6 +69,7 @@ class LocalStoreGoodsCartLogic extends Logic
|
||||
->field('c.id, c.item_id, c.goods_num, g.id as lsg_id, g.title, g.price')
|
||||
->append(['pic', 'item'])
|
||||
->select();
|
||||
return $cart;
|
||||
}
|
||||
|
||||
public static function cartNum($post, $user_id)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user