tapi/app/controller/admin/system/CacheDataController.php
u2nyakim 38d922fa70 up.
2025-08-22 10:39:04 +08:00

23 lines
464 B
PHP

<?php
namespace app\controller\admin\system;
use app\BaseController;
use app\entity\SysConfig;
use app\service\CurdService;
use think\response\Json;
class CacheDataController extends BaseController
{
public function list(): Json
{
$model = SysConfig::with([])
->withSearch([], [
]);
$paginate = CurdService::getPaginate($this->request, $model);
return $this->writeSuccess('success', $paginate);
}
}