Merge branch 'master' of git.excellentkk.cn:mkm/shop-php
This commit is contained in:
commit
49aa6bb1dd
@ -265,6 +265,7 @@ class StoreCartDg extends BaseController
|
||||
$goods = Db::table('eb_store_cart')->alias('a')->join('eb_store_product b','a.product_id = b.product_id')->field("sum(b.price*a.cart_num) as total_price")->where($www3)->find();
|
||||
return $goods['total_price'];
|
||||
})
|
||||
->order('id desc')
|
||||
->select();
|
||||
if($list){
|
||||
return app('json')->success($list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user