Commit 476a038e authored by zhuwei's avatar zhuwei

保护期内标签取消

parent c2f80e43
......@@ -288,14 +288,11 @@ class Client extends Basic
{
$label[] = '我的';
}
/*dump($v['create_time']);
$time=strtotime(date("Y-m-d h:i:s"))-strtotime($v['create_time']);
dump(strtotime(date("Y-m-d h:i:s"))-strtotime($v['create_time']));//48时(h)=172800秒(s)
exit;*/
if((strtotime(date("Y-m-d h:i:s")) - strtotime($v['create_time'])) < 172800)
/*if((strtotime(date("Y-m-d h:i:s")) - strtotime($v['create_time'])) < 172800)
{
$label[] = '保护期内';
}
}*/
//无效客户不显示标签
if($v['user_status'] != -1){
$user_res[$k]['label'] = implode(',',$label);
......
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