新增用户商品购物车查看、新增商品规格模板

This commit is contained in:
gongfuxiang
2022-08-25 18:13:28 +08:00
parent 5143490563
commit 002fe9538d
35 changed files with 1797 additions and 655 deletions

View File

@ -22,6 +22,7 @@ use app\service\GoodsFavorService;
use app\service\GoodsBrowseService;
use app\service\IntegralService;
use app\service\AppMiniUserService;
use app\service\GoodsCartService;
/**
* 用户
@ -271,7 +272,7 @@ class User extends Common
'user_goods_browse_count' => $user_goods_browse_count,
'common_message_total' => $common_message_total,
'navigation' => AppCenterNavService::AppCenterNav(),
'common_cart_total' => BuyService::UserCartTotal(['user'=>$this->user]),
'common_cart_total' => GoodsCartService::UserGoodsCartTotal(['user'=>$this->user]),
);
// 返回数据