|
@@ -953,7 +953,7 @@ class GoodsService extends BaseService
|
|
|
*/
|
|
*/
|
|
|
public function count($userId, $params)
|
|
public function count($userId, $params)
|
|
|
{
|
|
{
|
|
|
- $count = CartsModel::where(['user_id' => $userId])->count();
|
|
|
|
|
|
|
+ $count = CartsModel::where(['user_id' => $userId,'mark'=>1])->count();
|
|
|
return ['count' => $count];
|
|
return ['count' => $count];
|
|
|
}
|
|
}
|
|
|
|
|
|