北京经济技术开发区经开区虚拟城市项目-【后端】-服务,Poi,企业,地块等定制接口
13693261870
2023-10-05 9443a6b751ad1cbb9efce8c116b6fb8dae7a56b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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<Integer> selectCount(String name) {
        try {
            //Result<TokenResult> rs = new Result<>();
 
 
            return success(0);
        } catch (Exception ex) {
            return fail(ex, -1);
        }
    }
}