liujie
2023-05-15 6225c37d2f53adf26daf6b4859af5fb5c6fad088
src/main/java/com/stylefeng/guns/modular/system/controller/IndexController.java
@@ -36,11 +36,12 @@
    @ApiImplicitParams({
            @ApiImplicitParam(name = "Authorization", value = "用户token(Bearer +token)", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9....."),
            @ApiImplicitParam(name = "time", value = "2000-01-01 - 2000-11-11", required = false, dataType = "String"),
            @ApiImplicitParam(name = "id", value = "卡车公司id", required = true, dataType = "String"),
    })
    @GetMapping(value = "/index")
    @ResponseBody
    public Object list(String time) {
        IndexInfo vo =  orderService.indexList(time);
    public Object list(String time,int id) {
        IndexInfo vo =  orderService.indexList(time,id);
        return new SuccessTip(vo);
    }