docs: 补充微信 JSSDK 配置接口 OpenAPI 文档

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-17 12:04:35 +08:00
parent 0a2961ecd6
commit 44e4f03957

View File

@@ -4514,6 +4514,21 @@ components:
description: 总数
type: integer
type: object
DtoJSSDKConfigResponse:
properties:
app_id:
description: 公众号 AppID
type: string
nonce_str:
description: 随机字符串
type: string
signature:
description: 签名SHA1
type: string
timestamp:
description: 时间戳(秒)
type: integer
type: object
DtoLinkedPackageInfo:
properties:
force_recharge_amount:
@@ -23900,6 +23915,59 @@ paths:
summary: 钱包流水列表
tags:
- 个人客户 - 钱包
/api/c/v1/wechat/jssdk-config:
get:
description: 前端调用 wx.config() 初始化微信 JS-SDK 时所需的签名参数,需传入当前页面完整 URL
parameters:
- description: '当前页面完整 URL含协议和路径不含 # 及其后内容)'
in: query
name: url
required: true
schema:
description: '当前页面完整 URL含协议和路径不含 # 及其后内容)'
type: string
responses:
"200":
content:
application/json:
schema:
properties:
code:
description: 响应码
example: 0
type: integer
data:
$ref: '#/components/schemas/DtoJSSDKConfigResponse'
msg:
description: 响应消息
example: success
type: string
timestamp:
description: 时间戳
format: date-time
type: string
required:
- code
- msg
- data
- timestamp
type: object
description: 成功
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 请求参数错误
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: 服务器内部错误
summary: 获取微信 JSSDK 签名配置
tags:
- 个人客户 - 微信
/api/callback/alipay:
post:
responses: