|
|
@@ -3,6 +3,7 @@
|
|
|
namespace App\Http\Controllers\Api\v1;
|
|
|
|
|
|
use App\Http\Controllers\Api\webApp;
|
|
|
+use App\Services\Api\OrderService;
|
|
|
use App\Services\Api\SocialCircleService;
|
|
|
use App\Services\Api\StoreService;
|
|
|
use App\Services\Common\AdService;
|
|
|
@@ -68,7 +69,7 @@ class IndexController extends webApp
|
|
|
"name" => '购物车',
|
|
|
"code" => 'cart',
|
|
|
"icon" => 'cart',
|
|
|
- "badge" => 0,
|
|
|
+ "badge" => OrderService::make()->getCountByStatus($this->userId,1),
|
|
|
"status"=> 1,
|
|
|
"page" => '/pages/cart/index'
|
|
|
], [
|