王飞
2025-01-23 2de56e472a41b7feb90be29a54a2d6f5a6c8762e
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
39
package com.hxzkappboot.controller;
 
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hxzkappboot.pojo.TbAchor;
import com.hxzkappboot.pojo.TbTag;
import com.hxzkappboot.service.TbAchorService;
import com.hxzkappboot.service.TbTagService;
import com.hxzkappboot.util.R;
import com.hxzkappboot.util.StatusCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wangfei
 * @since 2024-03-08
 */
@RestController
//@RequestMapping("/tb-tag")
public class TbTagController {
    @Autowired
    TbTagService tbTagService;
 
//    @GetMapping("/api/wx/findTag")
//    public R findAll(Page page, String objectid) {
//        R response;
//        IPage<TbTag> ipage = tbTagService.findAll(page,objectid);
//        response = new R(StatusCode.Success);
//        response.setData(ipage);
//        return response;
//    }
}