新增订单查询接口/api/v1/mall/order

This commit is contained in:
2026-07-27 11:39:45 +08:00
parent d054908b30
commit 25f2ba4c03
8 changed files with 107 additions and 13 deletions

View File

@@ -16,10 +16,11 @@ return [
// token 会话缓存过期时间(秒)
'session_expire_seconds' => intval(env('PLAYX_SESSION_EXPIRE_SECONDS', '3600')),
/**
* 为 true 时verifyToken 不向 PlayX 请求;当前实现为联调占位——不校验请求中的 token
* 每次签发新 session用户标识见 verify_token_local_default_*(待对方提供校验接口后请设为 false 并走远程校验)
* 为 true 时verifyToken 不向 PlayX 请求;不校验请求 token 真伪,按环境变量默认用户签发 mall_session。
* 用户标识见 PLAYX_VERIFY_TOKEN_LOCAL_DEFAULT_USER_ID / PLAYX_VERIFY_TOKEN_LOCAL_DEFAULT_USERNAME
* 生产对接 playX 时请设为 false 并配置 PLAYX_TOKEN_VERIFY_URL。
*/
'verify_token_local_only' => filter_var(env('PLAYX_VERIFY_TOKEN_LOCAL_ONLY', '1'), FILTER_VALIDATE_BOOLEAN),
'verify_token_local_only' => filter_var(env('PLAYX_VERIFY_TOKEN_LOCAL_ONLY', '0'), FILTER_VALIDATE_BOOLEAN),
/** verify_token_local_only 为 true 时写入 mall_session 的 playx 用户标识 */
'verify_token_local_default_user_id' => strval(env('PLAYX_VERIFY_TOKEN_LOCAL_DEFAULT_USER_ID', 'testmyr')),
/** verify_token_local_only 为 true 时写入 mall_session 的展示用户名 */