摘要:
1.No converter found for return value of type: class java.util.ArrayList springmvc 默认是没有对象转换成json的转换器的 手动添加jackson依赖 <!-- jackson--> <dependency> <gro 阅读全文
posted @ 2023-02-21 18:50
lwx_R
阅读(28)
评论(0)
推荐(0)
摘要:
1.get请求在url中通过?指定参数 直接将其写在参数上即可获得 public String addUser1(String username,String password) { System.out.println("username is:"+username); System.out.pr 阅读全文
posted @ 2023-02-21 13:07
lwx_R
阅读(24)
评论(0)
推荐(0)
摘要:
1.pom.xml <!-- 图形验证码--> <dependency> <groupId>com.github.whvcse</groupId> <artifactId>easy-captcha</artifactId> <version>1.6.2</version> </dependency> 阅读全文
posted @ 2023-02-21 00:18
lwx_R
阅读(139)
评论(0)
推荐(0)
摘要:
1.使用fastJson 2.controller层 @PostMapping("") @ResponseBody public BaseResponse jsonFunction(@RequestBody String jsonData){ BaseResponse baseResponse = 阅读全文
posted @ 2023-02-21 00:12
lwx_R
阅读(26)
评论(0)
推荐(0)
摘要:
1.下载layuiAdmin实例 2.修改std版本的views界面 3.实体管理界面 3.1 表单html <!-- 文章列表--> <div class="layui-card-body"> <div style="padding-bottom: 10px;"> <button class="l 阅读全文
posted @ 2023-02-21 00:03
lwx_R
阅读(1145)
评论(0)
推荐(0)

浙公网安备 33010602011771号