mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 07:11:52 +08:00
修复-公众号标签修改提示报错“[微信公众号 yudao-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]”
This commit is contained in:
parent
f59119bf6e
commit
66f09ed54b
@ -52,6 +52,14 @@ public class MpTagController {
|
||||
return success(true);
|
||||
}
|
||||
|
||||
@GetMapping("/get")
|
||||
@Operation(summary = "获取公众号标签详情")
|
||||
@PreAuthorize("@ss.hasPermission('mp:tag:query')")
|
||||
public CommonResult<MpTagDO> get(@RequestParam("id") Long id) {
|
||||
MpTagDO mpTagDO = mpTagService.get(id);
|
||||
return success(mpTagDO);
|
||||
}
|
||||
|
||||
@GetMapping("/page")
|
||||
@Operation(summary = "获取公众号标签分页")
|
||||
@PreAuthorize("@ss.hasPermission('mp:tag:query')")
|
||||
|
@ -46,6 +46,13 @@ public interface MpTagService {
|
||||
*/
|
||||
PageResult<MpTagDO> getTagPage(MpTagPageReqVO pageReqVO);
|
||||
|
||||
/**
|
||||
* 获得公众号标签详情
|
||||
* @param id id查询
|
||||
* @return 公众号标签详情
|
||||
*/
|
||||
MpTagDO get(Long id);
|
||||
|
||||
List<MpTagDO> getTagList();
|
||||
|
||||
/**
|
||||
|
@ -116,6 +116,11 @@ public class MpTagServiceImpl implements MpTagService {
|
||||
return mpTagMapper.selectPage(pageReqVO);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MpTagDO get(Long id) {
|
||||
return mpTagMapper.selectById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<MpTagDO> getTagList() {
|
||||
return mpTagMapper.selectList();
|
||||
|
Loading…
Reference in New Issue
Block a user