package com.smartearth.poiexcel.controller; import com.smartearth.poiexcel.entity.ResponseMsg; import com.smartearth.poiexcel.entity.Result; import com.smartearth.poiexcel.entity.TokenResult; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * 企业控制器 * @author WWW * @date 2023-10-05 */ @Api(tags = "企业控制器") @RestController @RequestMapping("/ent") public class EntController extends BaseController { @ApiOperation(value = "查询记录数") @ApiImplicitParams({ @ApiImplicitParam(name = "name", value = "名称", dataType = "String", paramType = "query", required = false, example = "") }) @GetMapping({"/selectCount"}) public ResponseMsg selectCount(String name) { try { //Result rs = new Result<>(); return success(0); } catch (Exception ex) { return fail(ex, -1); } } }