java
Mickey-lian
这个作者很懒,什么都没留下…
展开
-
Spring定时器 cron详解
在spring.xml中配置定时任务:<!-- 定时任务配置 --><task:annotation-driven scheduler="qbScheduler" mode="proxy"/><!-- 调度线程池配置 --><task:scheduler id="qbScheduler" pool-size="10"/> 注意:1、实现...原创 2019-10-12 10:54:28 · 3435 阅读 · 0 评论 -
SpringBoot集成百度Ueditor
遇到的问题:将下载好的ueditor放入static目录下,能正常显示,但是上传多张图片报“请求后台配置项http错误,上传功能将不能正常使用!问题解决:自定义上传,参照:https://blog.csdn.net/m0_38129431/article/details/80462233第一步:下载Ueditor地址:http://ueditor.baidu.com/build/buil...原创 2019-10-09 10:47:55 · 253 阅读 · 0 评论 -
@RequestBody的使用及二维码的生成
@RequestBody主要用来接收前端传给后端的json字符串中的数据(请求体中的数据),GET没有请求体,所有用@RequestBody接收数据时,需要使用POST方式提交。这里写了一个小demo(生成二维码),通过@RequestBody接收前端传来的json格式的字符串。前端主要代码:<form > 请支付0.01元,你就能用手机扫码百度了! &a...原创 2019-10-11 09:50:20 · 380 阅读 · 0 评论