From 8d917168390d06fbbc167b506ce5e8e9f2504be6 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期一, 04 十一月 2024 11:19:04 +0800
Subject: [PATCH] bug修改
---
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
index d409a98..39e822d 100644
--- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
+++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/TIntegralRuleController.java
@@ -71,6 +71,12 @@
@ApiOperation(tags = {"管理后台-积分管理","小程序-个人中心-签到"},value = "获取积分设置")
public R<TIntegralRule> getSet() {
TIntegralRule res = integralRuleService.getOne(new QueryWrapper<>());
+ return R.ok(res);
+ }
+ @GetMapping("/getSet1")
+ @ApiOperation(tags = {"小程序-个人中心-签到"},value = "获取积分设置")
+ public R<TIntegralRule> getSet1() {
+ TIntegralRule res = integralRuleService.getOne(new QueryWrapper<>());
LoginUserApplet loginUserApplet = tokenService.getLoginUserApplet();
res.setIsDouble(0);
if (loginUserApplet!=null){
--
Gitblit v1.7.1