[积分商城]优化对接API

This commit is contained in:
2026-03-30 11:47:32 +08:00
parent b30ef21780
commit 4a42899bfe
55 changed files with 835 additions and 1241 deletions

View File

@@ -5,11 +5,11 @@
return [
// 允许跨域访问的域名(* 表示任意;开发可用 *,生产建议填具体域名)
'cors_request_domain' => '*',
'cors_request_domain' => '*,playx-api.cjdhr.top',
// 是否开启会员登录验证码
'user_login_captcha' => true,
'user_login_captcha' => false,
// 是否开启管理员登录验证码
'admin_login_captcha' => true,
'admin_login_captcha' => false,
// 会员登录失败可重试次数,false则无限
'user_login_retry' => 10,
// 管理员登录失败可重试次数,false则无限
@@ -89,8 +89,12 @@ return [
],
// JWT 签名密钥(留空则使用 token.key
'jwt_secret' => '',
// 是否启用 H5 临时登录接口 /api/v1/temLogin
'temp_login_enable' => true,
// Token 有效期(秒),默认 24 小时
'token_expire' => 86400,
// 临时登录 token 有效期(秒),默认 1 天
'temp_login_expire' => 86400,
],
// 版本号
'version' => 'v2.3.6',