liujie
2023-05-26 f9de931c4457c2a6bfe395879e3b2f2bfd7d9692
src/main/java/com/stylefeng/guns/modular/system/controller/TCarriersController.java
@@ -86,9 +86,24 @@
    @ResponseBody
    public Object addCarriers(@RequestBody TCarriers tCarriers) {
        tCarriers.setCreateTime(new Date());
        carriersService.insert(tCarriers);
        return new SuccessTip();
    }
    @ApiOperation(value = "卡车公司-承运商详情",notes="卡车公司-承运商详情")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "Authorization", value = "用户token(Bearer +token)", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9....."),
            @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "int",paramType = "query"),
    })
    @PostMapping(value = "/carriersInfo")
    @ResponseBody
    public Object carriersInfo( int id) {
        TCarriers tCarriers = carriersService.selectById(id);
        return new SuccessTip(tCarriers);
    }
    @ApiOperation(value = "卡车公司-编辑承运商",notes="卡车公司-编辑承运商")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "Authorization", value = "用户token(Bearer +token)", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9....."),