注销相关逻辑

This commit is contained in:
2020-09-14 20:49:23 +08:00
parent e1630850b1
commit 539afccbc7
2 changed files with 39 additions and 4 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 = WSTCheckLoginKey($loginName);
$crs = ($loginName);
if($crs['status']!=1){
flock($fp,LOCK_UN);
fclose($fp);