@RestController @Validated public class ApiRestController extends Object
| 构造器和说明 |
|---|
ApiRestController() |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
chatDialogue(EntityParam s) |
Result |
doDelete() |
Result |
doPostForm()
POST FORM 表单参数
|
Result |
doPut() |
Result |
page(EntityParam s) |
Result |
redis() |
Result |
redisGet() |
Result |
springCache() |
Result |
unifyCacheGet() |
Result |
unifyCacheKey() |
@PostMapping(value="/chat") public Result chatDialogue(@Validated EntityParam s)
@PostMapping(value="/page") public Result page(@Validated EntityParam s)
@GetMapping(value="/doDelete") public Result doDelete()
@GetMapping(value="/doPut") public Result doPut()
@PostMapping(value="/doPost") public Result doPostForm()
@GetMapping(value="/redis/unifyCache") public Result unifyCacheKey()
@GetMapping(value="/redis/unifyCacheGet") public Result unifyCacheGet()
@Cacheable(cacheNames="testCache",
keyGenerator="keyGeneratorStrategy")
@GetMapping(value="/redis/springCache")
public Result springCache()
@GetMapping(value="/redis") public Result redis()
@GetMapping(value="/redisGet") public Result redisGet()
Copyright © 2023. All rights reserved.