会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
午火39
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
···
75
下一页
2022年7月9日
PHPExcel插件生成exel表:有的excel能打开,有的excel打不开
摘要: PHPExcel导出xls无法打开文件问题 在header之前,通过清除缓冲区:ob_end_clean();然后excel打开就正常了;亲测,有效。 PHPExcel插件生成exel表:有的excel能打开,有的excel打不开; 如图 修改代码,在导出的时候添加:ob_end_clean();
阅读全文
posted @ 2022-07-09 10:31 午火39
阅读(415)
评论(0)
推荐(0)
2022年7月4日
YII2+oracle,php5.x升级到php7.2.x以上,sql报错:General error: 904 OCIStmtExecute: ORA-00904: "xxxx": invalid identifier
摘要: YII2,php5.x升级到php7.2.x以上,sql报错:General error: 904 OCIStmtExecute: ORA-00904: "xxxx": invalid identifier 实际操作有发现2个问题: 1,model类型查询到报错:General error: 904
阅读全文
posted @ 2022-07-04 12:16 午火39
阅读(172)
评论(0)
推荐(0)
2022年4月28日
mysql查看:表的字段名,是不是关键字
摘要: mysql查看:表的字段名,是不是关键字 SELECT * FROM mysql.`help_keyword` WHERE NAME LIKE 'key_name';
阅读全文
posted @ 2022-04-28 10:13 午火39
阅读(233)
评论(0)
推荐(0)
2022年1月20日
springboot 模拟上次文件: MultipartFile + json餐食
摘要: 首先来看,接口及参数 postman模拟上传 需求:将生成好的,远程excel附件,以及一些常规数据通过接口,传递过去。 代码部分: 1.将远程excel附件,转化为MultipartFile public class FileToMultipartFileUtils { /** * 远程file文
阅读全文
posted @ 2022-01-20 17:53 午火39
阅读(746)
评论(0)
推荐(0)
git branch 命令查看分支、删除远程分支、本地分支
摘要: git branch 命令操作 1、查看本地分支 : git branch 2 、删除本地已合并的分支: git branch -d [branchname] 某些情况下可以用 git branch -D [branchName] (使用时应注意是否已合并) 3、删除远程分支: git push o
阅读全文
posted @ 2022-01-20 17:36 午火39
阅读(1105)
评论(0)
推荐(0)
[git] git遇到的问题Please make sure you have the correct access rights and the repository exists.”
摘要: 一天,在合并代码,commit时,然后git push origin master一下,报错,错误内容: Please make sure you have the correct access rights and the repository exists. 然后谷歌了一下,原来是ssh key
阅读全文
posted @ 2022-01-20 17:34 午火39
阅读(204)
评论(0)
推荐(0)
2021年12月29日
vue:自定义验证form表单中的数组
摘要: vue:自定义验证form表单中的数组 如图 html写法: form元素: pictures 添加图片上传框事件:addMealImage删除一个图片上传框事件:delMealImage div class="flex-row el-form-item-box" style="width: 100
阅读全文
posted @ 2021-12-29 11:39 午火39
阅读(2240)
评论(0)
推荐(0)
2021年12月26日
tar解压包的时候出现错误 gzip: stdin: not in gzip format
摘要: tar解压包的时候出现错误 gzip: stdin: not in gzip format tar -zxvf jdk-8u144-linux-x64.tar.gz 改成 tar -xvf jdk-8u144-linux-x64.tar.gz
阅读全文
posted @ 2021-12-26 15:08 午火39
阅读(146)
评论(0)
推荐(0)
2021年11月7日
String和List相互转换
摘要: 1,String转List //常见的为逗号分隔 String str = "a,b,c"; List<String> list1 = Arrays.asList(str.split(",")); //[a, b, c] List<String> list2 = Arrays.asList(str.
阅读全文
posted @ 2021-11-07 10:49 午火39
阅读(24459)
评论(0)
推荐(1)
2021年10月26日
commons-httpclient 3.1 - httpclient跳过https请求的验证
摘要: commons-httpclient 3.1 这个包比较老,已经淘汰了。但好多老项目依然在用这个包。 有一个项目,第三方https,用的自建证书(无耻),导致请求报错: 使用HttpClient发送Https请求时,出现异常为: PKIX path building failed: sun.secu
阅读全文
posted @ 2021-10-26 11:05 午火39
阅读(1339)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
75
下一页
公告