摘要:
提交 阅读全文
posted @ 2019-07-25 14:56
china/xin
阅读(6801)
评论(0)
推荐(0)
摘要:
在tp中构建多表查询的sql结构。还不能破坏搜索条件处理器。 需求,查出用户表与用户统计信息表中的复合数据。并按照规则排序。 // SELECT * FROM zfenxiao_user user INNER JOIN zfenxiao_totalsinfos dept ON dept.userid 阅读全文
posted @ 2019-07-25 11:06
china/xin
阅读(2406)
评论(0)
推荐(0)
摘要:
thinkphp5.1 中 wheretime() 方法使用 $todaytime=date('Y-m-d H:i:s',strtotime(date("Y-m-d"),time()));//今天零点 $oldtoday=date('Y-m-d H:i:s',strtotime($todaytime)-86400);//昨日零点 //今日粉丝数量 $fans[fans1]=Db::name(... 阅读全文
posted @ 2019-07-25 09:51
china/xin
阅读(4686)
评论(0)
推荐(0)

浙公网安备 33010602011771号