mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	Merge branch 'master' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/mall_product
This commit is contained in:
		| @@ -52,6 +52,14 @@ public class MpTagController { | ||||
|         return success(true); | ||||
|     } | ||||
|  | ||||
|     @GetMapping("/get") | ||||
|     @Operation(summary = "获取公众号标签详情") | ||||
|     @PreAuthorize("@ss.hasPermission('mp:tag:query')") | ||||
|     public CommonResult<MpTagRespVO> get(@RequestParam("id") Long id) { | ||||
|         MpTagDO mpTagDO = mpTagService.get(id); | ||||
|         return success(MpTagConvert.INSTANCE.convert(mpTagDO)); | ||||
|     } | ||||
|  | ||||
|     @GetMapping("/page") | ||||
|     @Operation(summary = "获取公众号标签分页") | ||||
|     @PreAuthorize("@ss.hasPermission('mp:tag:query')") | ||||
|   | ||||
| @@ -37,6 +37,8 @@ public interface MpTagConvert { | ||||
|     }) | ||||
|     MpTagDO convert(WxUserTag tag, MpAccountDO account); | ||||
|  | ||||
|     MpTagRespVO convert(MpTagDO mpTagDO); | ||||
|  | ||||
|     List<MpTagSimpleRespVO> convertList02(List<MpTagDO> list); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV