feat : login wx
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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',''),
|
||||
];
|
||||
Reference in New Issue
Block a user