系统参数 缓存
微信工具类 支付宝工具类
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user