会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
覃上
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
10
下一页
2020年7月16日
win 共享文件夹,右键文件夹--共享
摘要: 访问:win+r,输入:\\LAPTOP-I5967FF6\yulin cmd方式设置共享文件夹: 管理员方式打开cmd,输入:net share yulin=D:\\test
阅读全文
posted @ 2020-07-16 09:31 覃上
阅读(223)
评论(0)
推荐(0)
2020年7月7日
ajax使用
摘要: $.ajax({ method:'POST', url:'/midservice/studentAction/addStudent', data:$.toJSON(userDate), async:false, cache : false, dataType:"json", crossDomain
阅读全文
posted @ 2020-07-07 09:06 覃上
阅读(128)
评论(0)
推荐(0)
2020年7月6日
axios使用
摘要: axios({ method:"POST", // url:configure.state.gateway, url:'/api', // headers: { // "Content-Type": "multipart/form-data", // 'Content-Type': 'applica
阅读全文
posted @ 2020-07-06 15:15 覃上
阅读(178)
评论(0)
推荐(0)
2020年7月1日
eureka 经过网关transferRequest下载文件,用form表单、a标签或location下载,ajax不支持文件流,只支持字符串类型xml、json
摘要: /** * Rest模板对象,用于http访问 * 当前对象已经使用@LoadBanlnced 实现的负载均衡 */@Autowired@Qualifier("siteRestTemplate")RestTemplate restTemplate; //网关接口 @RequestMapping("/
阅读全文
posted @ 2020-07-01 10:29 覃上
阅读(248)
评论(0)
推荐(0)
2020年6月29日
hibernate实体类指定表和库 @Entity @Table(name = "t_config", schema = "SMWB_SUPPORT")
摘要: hibernate实体类指定表和库 @Entity @Table(name = "t_config", schema = "SMWB_SUPPORT")
阅读全文
posted @ 2020-06-29 07:37 覃上
阅读(418)
评论(0)
推荐(0)
2020年6月28日
mapper指定数据源@Ds("dsdb")
摘要: mapper指定数据源@Ds("dsdb")
阅读全文
posted @ 2020-06-28 17:47 覃上
阅读(3337)
评论(1)
推荐(0)
2020年6月23日
ajax、axios局部刷新,跨域不能重定向,且会报错。IP相同时不报错,可以返回重定向页面的代码。需要重定向时可以用form表单提交、location的href,这两种属于全部刷新
摘要: 跨域解决一:response.setHeader("Access-Control-Allow-Origin", "*");response.setHeader("Access-Control-Allow-Headers", "Content-Type, Content-Length, Authori
阅读全文
posted @ 2020-06-23 17:46 覃上
阅读(615)
评论(0)
推荐(0)
2020年6月19日
jspdf的使用,js 根据base64字符串生成pdf
摘要: <script src="https://cdn.bootcss.com/html2canvas/0.5.0-beta4/html2canvas.js"></script><script src="https://cdn.bootcss.com/jspdf/1.3.4/jspdf.debug.js"
阅读全文
posted @ 2020-06-19 12:46 覃上
阅读(4289)
评论(0)
推荐(0)
2020年6月18日
快速强制删除vue项目中的node_modules包
摘要: 安装: npm install rimraf -g 删除命令 rimraf node_module
阅读全文
posted @ 2020-06-18 16:05 覃上
阅读(2743)
评论(0)
推荐(0)
2020年6月17日
mybatis 切换数据数据源
摘要: com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder.push("bdck"); DynamicDataSourceContextHolder.clear();
阅读全文
posted @ 2020-06-17 17:08 覃上
阅读(415)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
10
下一页
公告