This commit is contained in:
2020-09-21 08:15:51 +08:00
parent 539afccbc7
commit d2593d1c87
8 changed files with 20 additions and 22 deletions

View File

@ -337,7 +337,7 @@ class Users extends Base{
$fp = fopen("reg.lock", "r");
if(flock($fp,LOCK_EX | LOCK_NB)) {//if(flock($fp,LOCK_EX))阻塞(等待)模式
//检测账号是否存在
$crs = ($loginName);
$crs = WSTCheckLoginKey($loginName);
if($crs['status']!=1){
flock($fp,LOCK_UN);
fclose($fp);