摘要:
1)如果前端传的是json,后端接受时要用@RequestBody注解,json对象要与实体类对应 1 public boolean updateKnowledge(@RequestBody Knowledge knowledge){ 2 return knowledgeService.update 阅读全文
摘要:
加入依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.7.0</version> </dependency> <dependency> <g 阅读全文