Commit ea93b0e8 authored by zhuwei's avatar zhuwei

注释

parent c6c6b126
...@@ -335,9 +335,9 @@ class UserService ...@@ -335,9 +335,9 @@ class UserService
$res = $this->user->selectUser($user_id, "id,protect_time,create_time"); $res = $this->user->selectUser($user_id, "id,protect_time,create_time");
/*先判断客户创建时间是否超过24小时 目的是兼容老数据 2018-10-20号之后的版本可去除此处代码*/ /*先判断客户创建时间是否超过24小时 目的是兼容老数据 2018-10-20号之后的版本可去除此处代码*/
if((time() - strtotime($res['create_time'])) < (60*60*24)){ // if((time() - strtotime($res['create_time'])) < (60*60*24)){
return 0;//保护期内 // return 0;//保护期内
} // }
/*目的是兼容老数据 2018-10-20号之后的版本可去除此处代码 end */ /*目的是兼容老数据 2018-10-20号之后的版本可去除此处代码 end */
if ((time() < strtotime($res['protect_time']))) { if ((time() < strtotime($res['protect_time']))) {
......
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