上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: timestamp类型了,timestamp类型的特点如下:. 存储占用 4个字节,以年月日小时分秒的日期型式显示. 存储范围'1970-01-01 00:00:01' to '2038-01-19 03:14:07'.. 以UTC时区进行存储,但是以系统当前时间进行显示. 可以在insert和up 阅读全文
posted @ 2020-02-05 14:15 winner66 阅读(1254) 评论(0) 推荐(0)
摘要: 同步阻塞式IO -> 服务器接收到客户端连接请求之后 ,为其分配一个线程(如果连接的客户端过多,无法满足高性能 高并发) 伪异步IO ->增加线程池( 无论客户端并发连接数多大 都不会导致线程个数过于膨胀 or 内存溢出)(无法从根本上解决问题) 阅读全文
posted @ 2020-02-03 20:59 winner66 阅读(124) 评论(0) 推荐(0)
摘要: 在一张数据表中只能设置一个唯一名称的字段名。在同一张数据表中,不能出现两个名称完全相同的字段名。 因此,数据库系统可以通过字段名来区分数据表中的不同字段。 在MySQL中,ALTER TABLE语句也可以修改数据表的字段名。基本语法格式如下: ALTER TABLE 表名 CHANGE 旧字段名 新 阅读全文
posted @ 2020-01-16 13:37 winner66 阅读(1909) 评论(0) 推荐(1)
摘要: 使用primose封装微信小程序 发送数据给服务器,服务器接收不了数据 -为空, 之前header:{ // 'content-type': 'application/json', // 默认值 } 改为 header: { 'content-type': 'application/x-www-fo 阅读全文
posted @ 2020-01-14 20:44 winner66 阅读(500) 评论(0) 推荐(0)
摘要: // 区域 0 未选中当前地区 1:未选中 jgArea: [{ id: "001", areaName: "顺庆", active: "true", banks: [{ bankname: "建设银行", accountname: "多少是多少", account: "324", cun: "存入 阅读全文
posted @ 2020-01-11 11:00 winner66 阅读(278) 评论(0) 推荐(0)
摘要: 一、一般的遍历数组的方法: var array = [1,2,3,4,5,6,7]; for (var i = 0; i < array.length; i) { console.log(i,array[i]); } 二、用for in的方遍历数组 for(let index in array) { 阅读全文
posted @ 2020-01-11 10:50 winner66 阅读(1134) 评论(0) 推荐(0)
摘要: 总结: 1、直接用“=”赋值,这种是可以修改,但无法改变页面的状态的,还会造成数据不一致 2、this.setData,setData 函数用于将数据从逻辑层发送到视图层(异步),同时改变对应的 this.data 的值(同步) 3、微信小程序不支持jQuery和DOM操作修改样式,但可以先写两套样 阅读全文
posted @ 2020-01-11 10:23 winner66 阅读(5364) 评论(0) 推荐(0)
摘要: 字典的常用用途之一代替switch 在C/C++/Java语言中,有个很方便的函数switch,比如: 复制代码代码如下: public class test { public static void main(String[] args) { String s = "C"; switch (s){ 阅读全文
posted @ 2020-01-08 21:03 winner66 阅读(1377) 评论(0) 推荐(0)
摘要: 搜索商品 <view class="container"> <view wx:if="{{$search$show==1}}" class="content"> <view class="search"> <view class="serch_content"> <i class="iconfont 阅读全文
posted @ 2020-01-04 11:08 winner66 阅读(589) 评论(0) 推荐(0)
摘要: wxml <view class="content"> <view class="loginTitle" style='height:80rpx'> <view class="{{currentTab==0?'select':'default'}}" data-current="0" bindtap 阅读全文
posted @ 2020-01-04 10:46 winner66 阅读(175) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页