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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user