作者 lyh

gx

... ... @@ -58,7 +58,7 @@ class ExtendLogic extends BaseLogic
public function getKey($key){
$info = $this->model->read(['key'=>$key]);
if($info !== false){
$key .= '_1';
$key .= '-'.rand(1, 100);
return $this->getKey($key);
}
return $key;
... ...