|
@@ -0,0 +1,27 @@
|
|
|
+package com.caimei365.commodity.controller;
|
|
|
+
|
|
|
+import com.caimei365.commodity.service.StatisticsTypeService;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @创建人 hzg
|
|
|
+ * @创建时间 2022/8/30
|
|
|
+ * @描述
|
|
|
+ */
|
|
|
+@RequestMapping("/commodity/StatisticsType")
|
|
|
+@RestController
|
|
|
+public class StatisticsTypeApi {
|
|
|
+ private StatisticsTypeService statisticsTypeService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 统计进入商品详情位置
|
|
|
+ * @param TypeId
|
|
|
+ */
|
|
|
+ @GetMapping("/statisticsNumber")
|
|
|
+ public void statisticsNumber(Integer TypeId) {
|
|
|
+ statisticsTypeService.alterTypeNumber(TypeId);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|