spring boot controller 获取url
场景:如果单个接口存在多url时,想获取当前请求的url地址import org.springframework.beans.factory.annotation.Autowired;import org.springframework.web.bind.annotation.PostMapping;import org.springframework.web.bind.annotation.RequestBody;import org.springframework.web.bind.anno
原创
2020-12-10 19:07:20 ·
2042 阅读 ·
0 评论