作者 lyh

gx

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