
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
通过response返回json数据到前端
1.response.setCharacterEncoding("UTF-8");response.setContentType("application/json");PrintWriter out = response.getWriter();RespBean bean = RespBean.error("未登录,请登录");bean.setCode(401);out.write(new Ob
mybatis的mapperxml文件
1.首先使用得到是springboot继承环境,创建mybatis的配置文件,在yml文件中添加mybatis的一些配置信息mybatis:typeAliasesPackage:com.ruoyi.**.domainmapperLocations: classpath*:mapper/**/*Mapper.xml#加载全局配置文件configLocation:classpath:mybatis/m
到底了







