From eb49b39db4de118a2161fd2a57b96f8f1b84eade Mon Sep 17 00:00:00 2001
From: puhanshu <a9236326>
Date: 星期三, 05 一月 2022 18:11:01 +0800
Subject: [PATCH] 商家后台相关代码提交2

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/McsLabelServiceImpl.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/McsLabelServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/McsLabelServiceImpl.java
index f5ed30f..1eb5c3e 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/McsLabelServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/McsLabelServiceImpl.java
@@ -1,10 +1,12 @@
 package com.panzhihua.service_community.service.impl;
 
+import org.springframework.stereotype.Service;
+
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.panzhihua.common.model.vos.R;
 import com.panzhihua.service_community.dao.McsLabelDAO;
 import com.panzhihua.service_community.entity.McsLabel;
 import com.panzhihua.service_community.service.McsLabelService;
-import org.springframework.stereotype.Service;
 
 /**
  * (McsLabel)表服务实现类
@@ -15,4 +17,13 @@
 @Service("mcsLabelService")
 public class McsLabelServiceImpl extends ServiceImpl<McsLabelDAO, McsLabel> implements McsLabelService {
 
+    /**
+     * 获取产品标签列表
+     * @param userId
+     * @return
+     */
+    @Override
+    public R getMcsLabelList(Long userId) {
+        return R.ok(this.baseMapper.selectVOList(userId));
+    }
 }

--
Gitblit v1.7.1