Commit 60fcbb06 authored by 唐峰's avatar 唐峰

test apollo

parent f9b42241
package cn.quantgroup.xyqb.controller.test;
import cn.quantgroup.xyqb.model.JsonResult;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Describe:
* @Created by tangfeng 2023/8/22 17:47
*/
@RequestMapping("/test")
@RestController
public class TestController {
@Value("${channel.register.template}")
private String testApollo;
@GetMapping("/test1")
public JsonResult test1() {
//
return JsonResult.buildSuccessResult(testApollo);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment