feat : login wx

This commit is contained in:
2024-11-11 17:04:10 +08:00
parent 83a38d5001
commit 3a5739ee19
20 changed files with 844 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ return [
'handler' => [
'http' => [
Hyperf\HttpServer\Exception\Handler\HttpExceptionHandler::class,
App\Exception\Handler\ApiExceptionHandler::class,
App\Exception\Handler\AdminExceptionHandler::class,
App\Exception\Handler\ValidationDataExceptionHandler::class,
App\Exception\Handler\AppExceptionHandler::class,

View File

@@ -20,5 +20,9 @@ return [
// admin jwt 过期时间
'admin_jwt_expire' => env('ADMIN_JWT_EXPIRE',86400 * 30),
// admin 默认密码
'admin_default_password' => '123456'
'admin_default_password' => '123456',
// 微信小程序的appid
'wx_appid' => env('WX_APPID',''),
// 微信小程序的secret
'wx_secret' => env('WX_SECRET',''),
];