-
mysql导入数据时常见错误
mysql导入数据时常见错误
-
Tplay生成海报
加载grafika
use Grafika\Color;
use Grafika\Grafika;
use app\common\library\wechat\WxBase;
use app\common\library\wechat\Qrcode; -
图片鸡汤接口
美图接口的域名是:https://cdn.mom1.cn
美图接口文档网址是:https://cdn.mom1.cn/api
二次元的接口是:https://cdn.mom1.cn/d
汉服古风的接口是:https://cdn.mom1.cn/ha
html页调用美图显示案例代码:<img src="https://cdn.mom1.cn/?mom=302" style="max-width: 100%; max-height: 100%;">html页调用美图为背景案例代码:
<style>...小程序计时器
小程序计时器
onReady(){ let _this = this; _this.countInterval(); }, countInterval: function () { let _this = this // 设置倒计时 定时器 每2000毫秒执行一次 _this.countTimer = setInterval(() => { _this.getIndexData();...Windows搭建Redis
redis版本
副版本号为偶数时,表示是稳定版本,建议在生产环境中使用
副版本号为基数时,表示是测试版本,不建议在生产环境中是用
php扩展安装:
使用phpinfo()函数查看PHP的版本信息,安全模式,下载对应的文件
redis中的php扩展下载地址:https://windows.php.net/downloads/pecl/releases/redis/
igbinary扩展下载地址:https://windows.php.net/downloads/pecl/releases/igbinary/2.0.8/
解压缩后,将php_redis.dll和php_redis.pdb拷贝至php的ext目录下小程序初始化,判断版本,判断网络状态
小程序初始化,判断版本,判断网络状态
//监听小程序初始化 onLaunch(e) { let _this = this; //判断网络 _this.updateNetwork(); // 小程序主动更新 _this.updateManager(); }, //封装接口get,post中 fail(res) { //判断网络 _this.updateNetwork(); }, updateNetwork() { let _this =...从一个小程序跳到另一个小程序
从一个小程序跳到另一个小程序

Excel公式
Excel公式
1.时间 NOW() //当前日期 TIME(20,12,16) //20:12PM 2.计算工龄 =DATEDIF(A1,B1"y")&"年"&ROUNDUP(DATEDIF(A1,B1,"ym"),1)&"个月"&ROUNDUP(DATEDIF(A1,B1,"md"),1)&"日" 3.利用求余MOD()、TEXT()计算加班时间 MOD(被除数,除数) MOD(A2-A1,1) //计算时间 TEXT(MOD(A2-A1,1),"h小时mm分钟") //文本格式 2小时20分钟 TEXT(MOD(A2-A1,1),"h:mm") //文本格式 2:20 4.
...42/51