This commit is contained in:
zhang zhuo 2025-09-09 13:43:16 +08:00
parent d2fe83bed5
commit b0b90e1f35
2 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,6 @@ class GaoDingController extends AbstractController
#[GetMapping("uuid/query")]
public function query()
{
return $this->success([]);
return $this->success(uModel::getByUuid($this->request->input("uuid","")));
}
}

View File

@ -51,4 +51,9 @@ class Uuid extends Model
}
return $uuid;
}
public static function getByUuid(string $uuid)
{
return self::where("uuid", $uuid)->where("del_flag", 0)->select(['uuid','status','exp'])->first();
}
}