刘超 2020/6/20 16:31:57$device_info = Capsule::table('zh_device_info')->where('sn', $sn)->first()$updateStart = Capsule::table('zh_app_download')->where ...
分类:
数据库 时间:
2020-06-24 15:44:16
阅读次数:
102
MySQL报错:Cannot add or update a child row: a foreign key constraint fails 原因及解决方法 前几天增加了数据库中几张表的外键,结果调试接口的时候就报Cannot add or update a child row: a forei ...
分类:
数据库 时间:
2020-06-24 11:44:22
阅读次数:
59
1、概览 当多线程帮助我们提高应用性能的同时,它同时也带来一些问题,本文我们将借助几个小例子看下两个问题,死锁和活锁。 2、死锁 2.1、什么是死锁 死锁发生在当两个或多个线程一直在等待另一个线程持有的锁或资源的时候。这会导致一个程序可能会被拖垮或者直接挂掉,因为线程们都不能继续工作了。 经典的哲学 ...
分类:
编程语言 时间:
2020-06-24 00:24:55
阅读次数:
92
本文展示了ThinkPHP6 上传图片代码demo, 代码亲测可用. HTML部分代码 1 <tr> 2 <th class="font-size-sm" style="width:15%;height:100px;">商品图片</th> 3 <td> 4 <div class="custom-fi ...
分类:
Web程序 时间:
2020-06-24 00:04:40
阅读次数:
204
代码如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>源文件</title> <style> .exesoft-table{ width:300px; height:200px; } .exesoft-table th,. ...
分类:
其他好文 时间:
2020-06-23 21:00:31
阅读次数:
50
InfoPath 2013 connect to SharePoint online
分类:
其他好文 时间:
2020-06-23 19:44:38
阅读次数:
43
使用Fiddler工具连接手机测试,前提条件一定要保证电脑与手机使用同一个网络。 一、Fiddler通过代理连上手机 1、Fiddler--TOOLS-Options:Connections选项卡,设置连接的端口号,并勾选以下勾择项 2、打开运行控制台窗口,输入ipconfig,查看当前电脑的IP地 ...
分类:
移动开发 时间:
2020-06-23 19:13:19
阅读次数:
65
1.redux简介 redux是react全家桶的一员,它试图为 React 应用提供「可预测化的状态管理」机制。 Redux是将整个应用状态存储到到一个地方,称为store 里面保存一棵状态树(state tree) 组件可以派发(dispatch)行为(action)给store,而不是直接通知 ...
分类:
其他好文 时间:
2020-06-23 17:21:10
阅读次数:
291
例如: --向下遍历 select * from tablename START WITH id= '111' CONNECT BY PRIOR id=parentid --不包含parentid select * from tablename START WITH parentid= '111' ...
分类:
数据库 时间:
2020-06-23 15:45:25
阅读次数:
83
1.nav一块,内容一块 // 第一个tab切换 $('.QQnav li').click(function(){ $(this).addClass('on').siblings().removeClass('on').parents('ul').next().find('.QQ').eq($(th ...
分类:
其他好文 时间:
2020-06-23 15:15:17
阅读次数:
64