系统参数 缓存

微信工具类
支付宝工具类
This commit is contained in:
2025-02-12 11:29:06 +08:00
parent adbe0035e2
commit d84000de25
7 changed files with 18 additions and 51 deletions

View File

@@ -1,26 +0,0 @@
package com.czg.controller;
import com.alibaba.fastjson2.JSONObject;
import com.czg.system.dto.SysParamsDTO;
import com.czg.system.service.SysParamsService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author GYJoker
*/
@RestController
@RequestMapping("/feign")
public class FeignController {
// @DubboReference
private SysParamsService sysParamsService;
@RequestMapping("/test")
public String test() {
SysParamsDTO test = sysParamsService.getParamsByCode2("test");
return JSONObject.toJSONString(test);
}
}