package com.zcloud.primeport.web.app;

import com.alibaba.cola.dto.MultiResponse;
import com.alibaba.cola.dto.SingleResponse;
import com.zcloud.primeport.api.VehicleApplyServiceI;
import com.zcloud.primeport.dto.clientobject.AppCountCO;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(tags = "App统计角标")
@RequestMapping("/${application.gateway}/appStatisticsCorner")
@RestController
@AllArgsConstructor
public class AppCountController {
    private final VehicleApplyServiceI vehicleApplyService;
    @RequestMapping("/getAppCount")
    public MultiResponse<AppCountCO> getAppCount() {
        return vehicleApplyService.getAppCount();
    }
}
