增加密码过期功能
This commit is contained in:
1 parent
ec1014f8b3
commit
a6cd67b1f2
12 files changed
+103
-6
No files matched your search
@@ -331,4 +331,14 @@ class Index extends BaseController
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
public function mima_guoqi() {
|
||||
// 计算帐号禁用时间
|
||||
$jyshijian = config('shangma.mimaguoqi');
|
||||
$now = date("Y-m-d", time());
|
||||
$jinyong = strtotime("$now+".$jyshijian." day");
|
||||
return $jinyong;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user