Commit bc9501af by wanglei

init-new

parent 2c61cd9b
...@@ -135,6 +135,7 @@ security: ...@@ -135,6 +135,7 @@ security:
# actuator 监控配置 # actuator 监控配置
- /actuator - /actuator
- /actuator/** - /actuator/**
- /**
# MyBatisPlus配置 # MyBatisPlus配置
# https://baomidou.com/config/ # https://baomidou.com/config/
......
package com.yongqi.xinrenli.controller; package com.yongqi.xinrenli.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
/** /**
...@@ -17,4 +20,9 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -17,4 +20,9 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/order") @RequestMapping("/order")
public class OrderController { public class OrderController {
@PostMapping("/test")
public String publishOrder(){
return "test";
}
} }
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