feat : config

This commit is contained in:
2025-03-20 09:43:16 +08:00
parent 22fef86d76
commit 40f205fcda
4 changed files with 89 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ namespace App\Controller\Api;
use App\Controller\AbstractController;
use App\Middleware\Api\JwtAuthMiddleware;
use App\Service\Api\System\CityListService;
use App\Service\Api\System\MiniWxConfigService;
use App\Service\Api\System\SiteListService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middlewares;
@@ -30,4 +31,11 @@ class SystemController extends AbstractController
{
return (new CityListService)->handle();
}
#[RequestMapping(path: 'mini_wx/config',methods: 'GET')]
#[Scene(scene: 'mini_wx_config')]
public function getMiniWxConfig()
{
return (new MiniWxConfigService)->handle();
}
}