|
...
|
...
|
@@ -26,7 +26,7 @@ class NewsExtend extends Base |
|
|
|
* @time :2025/5/26 15:39
|
|
|
|
*/
|
|
|
|
public function getKey($key = self::EXTEND_KEY,$i = 1){
|
|
|
|
$info = $this->model->read(['key'=>$key.$i]);
|
|
|
|
$info = $this->read(['key'=>$key.$i]);
|
|
|
|
if($info !== false){
|
|
|
|
return $this->getKey($key,$i+1);
|
|
|
|
}else{
|
...
|
...
|
|