摘要:
1 @GetMapping("/user/{id:\\d+}") //使用正则指定Id为数字 2 public User getInfo(@PathVariable String id){ 3 ... 4 } 阅读全文
posted @ 2019-03-25 21:20
SpringCore
阅读(3126)
评论(0)
推荐(0)
摘要:
1 package cn.coreqi.security.controller; 2 3 import org.junit.Before; 4 import org.junit.Test; 5 import org.junit.runner.RunWith; 6 import org.springframework.beans.factory.annotation.Autowire... 阅读全文
posted @ 2019-03-25 20:17
SpringCore
阅读(653)
评论(0)
推荐(0)

浙公网安备 33010602011771号