Commit 6611b17e authored by hujun's avatar hujun

3

parent bb9deb7f
...@@ -19,7 +19,7 @@ class AgentLookUserTask ...@@ -19,7 +19,7 @@ class AgentLookUserTask
public function delAgentUserLog() public function delAgentUserLog()
{ {
$m_look = new TLookAgentUserModel(); $m_look = new TLookAgentUserModel();
$where['create_time'] = ['<', date('Y-m-d H:i:s', strtotime('-2 month'))]; //两个月前 $where['create_time'] = ['<', date('Y-m-d H:i:s', strtotime('-3 month'))]; //两个月前
$total = $m_look->getTotal($where); $total = $m_look->getTotal($where);
$page_size = 500; $page_size = 500;
$page_no = ceil($total / $page_size); $page_no = ceil($total / $page_size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment