以ASP.NET Core WebAPI 作后端 API ,用 Vue 构建前端页面,用 Axios 从前端访问后端 API ,包括文件的上传和下载。 准备文件上传的API #region 文件上传 可以带参数 [HttpPost("upload")] public JsonResult uploa ...
分类:
编程语言 时间:
2020-05-25 16:04:19
阅读次数:
69
1.问题 在使用 连接MySQL 服务过程,隔一段时间,会报MySQL连接错误: 排查下来,是由于使用无效的连接导致的。 基本场景是: client 连接MySQL,执行SQL后,不立刻关闭连接。client保留连接在连接池中。 接着,MySQL服务发生重启, 或者连接超过最大时长(由wait_ti ...
分类:
数据库 时间:
2020-05-24 16:49:56
阅读次数:
101
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.liwenwen.redcup03.mapper.UserMapper.selectByPrimaryKey at org.apa ...
分类:
移动开发 时间:
2020-05-24 16:34:31
阅读次数:
74
语义分割:基于openCV和深度学习(二) Semantic segmentation in images with OpenCV 开始吧-打开segment.py归档并插入以下代码: Semantic segmentation with OpenCV and deep learning # imp ...
分类:
其他好文 时间:
2020-05-24 13:24:54
阅读次数:
51
已知A点(Row1,Col1) 与角度(Phi), 还有C(HalfHeigh)的长度 求B点如下 dCol:=HalfHeigh*sin(Phi)dRow:=HalfHeigh*cos(Phi) gen_region_line (RegionLines,Row2, Column2, Row2+dR ...
分类:
其他好文 时间:
2020-05-23 18:34:35
阅读次数:
140
博客转自:http://www.lighthouse3d.com/tutorials/glut-tutorial/subwindows/ 创建和销毁子窗口 With GLUT we can define subwindows, i.e. divide the main window in diffe ...
分类:
其他好文 时间:
2020-05-23 18:29:11
阅读次数:
54
region gen_rectangle1 (ROI_0, 100, 100, 110, 110)get_region_points (ROI_0, Rows, Columns)tuple_length (Rows, Length) Rows, Columns的数据如下 XLD gen_contou ...
分类:
其他好文 时间:
2020-05-23 16:48:57
阅读次数:
54
node-sass安装失败,提示如下: gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` succeeded python D:\Program Files\Pytho ...
分类:
其他好文 时间:
2020-05-23 16:21:45
阅读次数:
363
hom_mat2d_identity (HomMat2DIdentity) //生成一个同质2D转换矩阵。 平移仿射 hom_mat2d_translate (HomMat2DIdentity, 100, 100, HomMat2DTranslate) //矩阵平移变换,形成新的矩阵HomMat2D ...
分类:
其他好文 时间:
2020-05-23 12:55:08
阅读次数:
54
在已经架设好的linux服务器中架设laravel项目 1、确认php的版本:#php -v 2、安装composer: 1)进入到php目录下 ,执行命令安装 curl -S https://getcomposer.org/installer | ./php /www/wdlinux/phps/7 ...
分类:
其他好文 时间:
2020-05-23 11:27:51
阅读次数:
73