上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: create table you can config table filed : run : php artisan migrate caused a error!!! so you should edit run again: you can rollback : roll back all o 阅读全文
posted @ 2018-12-16 11:21 cyany_blue 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 类: 实例化 构造函数__construct() 当初始化实例的时候会被触发 __destruct() 当实例对象被注销的时候,会自动触发 extends 子类继承父类 当子类存在的变量或则构造函数和父类的相同的时候,会覆盖父类的变量和方法 如果需要保留父类的构造函数同时触发的话,可以使用paren 阅读全文
posted @ 2018-12-15 16:20 cyany_blue 阅读(196) 评论(0) 推荐(0) 编辑
摘要: ``` //阻止默认刷新retrue false; 单文件上传file,多文件上传file[]接收 ``` ------------------------- ``` ``` ![](https://img2018.cnblogs.com/blog/1202026/201812/1202026... 阅读全文
posted @ 2018-12-12 22:13 cyany_blue 阅读(305) 评论(0) 推荐(0) 编辑
摘要: index.js modifyImg:function(){ var that = this; wx.chooseImage({ count: 1, // 默认9 sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有 sourceT 阅读全文
posted @ 2018-12-07 17:25 cyany_blue 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 由于小程序不支持在渲染的时候使用函数方法 所以需要借助wsx处理 然后在需要使用的wxml里面就添加 Reference:https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxs/01wxs module.html 阅读全文
posted @ 2018-12-07 17:09 cyany_blue 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Reference:https://developers.weixin.qq.com/miniprogram/dev/api/wx.createSelectorQuery.html require Reference:https://developers.weixin.qq.com/miniprog 阅读全文
posted @ 2018-12-07 17:03 cyany_blue 阅读(140) 评论(0) 推荐(0) 编辑
摘要: ``` // api地址 const api = { book: '/todos/10' }; function requestApi(url,params,method,sourceObj){ if(method == 'POST'){ var contentType = 'application/x-www-form-urlencoded' }else{ va... 阅读全文
posted @ 2018-12-07 16:53 cyany_blue 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 当然,也可以使用腾讯自家的https://lbs.qq.com/qqmap_wx_jssdk/method calculatedistance.html 不过好像距离只能是10km以内 获取一个地区的经纬度数组集合 阅读全文
posted @ 2018-11-28 17:27 cyany_blue 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Reference: https://www.npmjs.com/package/node schedule 阅读全文
posted @ 2018-11-27 17:47 cyany_blue 阅读(571) 评论(0) 推荐(0) 编辑
摘要: create docx Reference: https://stackoverflow.com/questions/17450412/how to create an excel file with nodejs https://github.com/Ziv Barber/officegen/bl 阅读全文
posted @ 2018-11-27 10:48 cyany_blue 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页