06 2021 档案
摘要:wxml <view class="show" wx:for="{{ array }}" wx:key="unq"> <image src="{{ item.image }}" class="image"></image> <text class="title">{{ item.name }}\n\
阅读全文
摘要:1. 什么是定时任务 定时任务命令是cond,crond就是计划任务,类似于我们平时生活中的闹钟,定点执行。 2.为什么要用crond 计划任务主要是做一些周期性的任务,比如凌晨3点定时备份数据、晚上23点开启网站抢购接口、凌晨0点关闭抢占接口等。 计划任务主要分为以下两种使用情况: 1.系统级别的
阅读全文
摘要:HTML <table width="200px"> <tr> <td><input type="checkbox" class="checkbox"></td> <td>ID</td> <td>名字</td> </tr> <tr> <td><input type="checkbox" class=
阅读全文
摘要://判断是否为空 if(empty($phone)){ //号码不能为空返回 return json(['code'=>400,'data'=>null,'msg'=>'号码不能为空']); } //正则判断号码格式是否正确 if(!preg_match('/^(13[0-9]|14[5|7]|15
阅读全文
摘要://获取表单数据 $verifyData = $_POST; //判断验证码是否正确 if(!captcha_check($verifyData['code'])){ //错误返回 json格式 return json(['code'=>400,'data'=>null,'msg'=>'验证码错误'
阅读全文
摘要:HTML<h1 class="price">1000</h1> <div class="clearfix choose"> <div id="specification" class="summary-wrap clearfix"> <dl> <dt> <div class="fl title">
阅读全文