lyhzzz преди 6 месеца
родител
ревизия
c5cd277cab
променени са 2 файла, в които са добавени 43 реда и са изтрити 0 реда
  1. 7 0
      README.md
  2. 36 0
      src/main/java/com/fdkankan/ucenter/controller/ProductController.java

+ 7 - 0
README.md

@@ -33,4 +33,11 @@
     1.ucenter/user/scene/uploadE57  从日本同步
     2.newList sceneSouce 为57,表示为e57mesh场景
     3.findSceneNumber 接口添加key e57 e57_OBJ
+~~~~
+
+###**1.10.9**
+~~~~
+1.批量协作
+2.协作商品详情
+http://120.25.146.52:3090/project/228/interface/api/cat_2077
 ~~~~

+ 36 - 0
src/main/java/com/fdkankan/ucenter/controller/ProductController.java

@@ -0,0 +1,36 @@
+package com.fdkankan.ucenter.controller;
+
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.fdkankan.ucenter.common.BaseController;
+import com.fdkankan.ucenter.common.Result;
+import com.fdkankan.ucenter.entity.Case;
+import com.fdkankan.ucenter.service.ICaseService;
+import com.fdkankan.ucenter.service.IProductService;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.util.ObjectUtils;
+import org.springframework.web.bind.annotation.*;
+
+/**
+ * <p>
+ *  前端控制器
+ * </p>
+ *
+ * @author 
+ * @since 2022-10-13
+ */
+@RestController
+@RequestMapping("/ucenter/product")
+public class ProductController extends BaseController {
+
+    @Autowired
+    IProductService productService;
+
+    @GetMapping("/getByKey/{typeKey}")
+    public Result getByKey(@PathVariable String typeKey){
+        return Result.success(productService.getByKey(typeKey));
+    }
+
+}
+