From b8a9b64f2b5d2ec7607b03274e547a1a0bca3236 Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期四, 12 十二月 2024 09:44:45 +0800
Subject: [PATCH] 1.后台管理-评论 2.后台管理-门店特殊价

---
 ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/PointSettingController.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/PointSettingController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/PointSettingController.java
index 005c72c..abecabd 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/PointSettingController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/PointSettingController.java
@@ -1,8 +1,16 @@
 package com.ruoyi.other.controller;
 
 
+import com.ruoyi.common.core.domain.R;
+import com.ruoyi.common.core.web.controller.BaseController;
+import com.ruoyi.other.api.domain.PointSetting;
+import com.ruoyi.other.service.PointSettingService;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
 
 /**
  * <p>
@@ -14,7 +22,16 @@
  */
 @RestController
 @RequestMapping("/point-setting")
-public class PointSettingController {
+public class PointSettingController extends BaseController {
+
+    @Resource
+    private PointSettingService pointSettingService;
+
+    @GetMapping("/getBaseSetting")
+    public R<PointSetting> getBaseSetting(@RequestParam Integer id) {
+        PointSetting pointSetting = pointSettingService.getById(id);
+        return R.ok(pointSetting);
+    }
 
 }
 

--
Gitblit v1.7.1