// 排行榜 public function ranklist(){ $type = $this->_get('type','trim'); $this->assign('type',$t…
$where[] = ['create_time', 'between time', [$start_time, $end_time]]; 或 $where['create_time'] = ['be…
在TP5的post提交方式中,有一个坑爹的bug就是post提交数据不能提交数组。 请注意是不能提交数组形式的数据,而不是单纯的数据。举个例子:注意以下2种格式数据的比较: 第一种:普通的数据提交,这…
1、查询数据库订单数据 /* *按今天,本周,本月,本季度,本年,全部查询预约单数据 * $day 代表查询条件 $cid 代表 公司id *返回array $data 查询条件 数组 */ publ…

大家都在搜

关注我们的公众号

微信公众号