spring boot
正义的琼
坐等下班
展开
-
超简单的mybatis实现分页
1、pom.xml引用插件<!--分页启动器--><dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>1.3.0</version></dependency>2、创建分页用的实体类@Datapubl原创 2022-03-24 17:03:01 · 1583 阅读 · 0 评论 -
springboot 实现图片上传,包含其他元素
数据库字段:tb_goodsdetial:Controller://商家增加商品--》待审核状态、待上架@PostMapping("/goodsAdd")@ResponseBodypublic JsonResult insertGood(TbGoodsdetail goodsDetail, MultipartFile gPicture1,String goodsTypeName,HttpSession session) throws FileNotFoundException { J原创 2021-07-16 09:15:01 · 297 阅读 · 0 评论 -
上传头像实现预览功能
<div class="layui-form-item"> <label class="layui-form-label"> <span class="x-red">*</span>商品缩略图 </label> <div class="lay.原创 2021-07-16 09:02:24 · 383 阅读 · 0 评论