docs: 完善插件文档 (#1040)

This commit is contained in:
yansongda 2024-11-23 11:15:52 +08:00 committed by GitHub
parent 0aea5b2ddc
commit dd084bf145
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1035 additions and 507 deletions

View File

@ -546,7 +546,7 @@ $result = Pay::alipay()->pay($allPlugins, $params);
`\Yansongda\Pay\Plugin\Alipay\V2\Member\FaceVerification\ServerVerifyPlugin`
#### OCR
### OCR
- 服务端OCR

View File

@ -635,3 +635,108 @@ $result = Pay::wechat()->papay([
'contract_id' => '签约ID',
])->toArray();
```
## 扩展工具
### 分账
- 请求分账
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\CreatePlugin`
- 查询分账结果
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\QueryPlugin`
- 请求分账回退
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\ReturnPlugin`
- 查询分账回退结果
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\QueryReturnPlugin`
- 解冻剩余资金
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\UnfreezePlugin`
- 查询剩余待分金额
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\QueryAmountsPlugin`
- 添加分账接收方
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\AddReceiverPlugin`
- 删除分账接收方
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\DeleteReceiverPlugin`
- 「服务商」查询最大分账比例
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\QueryMerchantConfigsPlugin`
- 申请分账账单
`暂无`
- 下载账单
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\ProfitSharing\DownloadBillPlugin`
### 消费者投诉2.0
#### 主动查询投诉信息
- 查询投诉单列表
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\QueryPlugin`
- 查询投诉单详情
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\QueryDetailPlugin`
- 查询投诉单协商历史
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\QueryNegotiationPlugin`
#### 实时获取投诉信息
- 创建投诉通知回调
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\SetCallbackPlugin`
- 查询投诉通知回调
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\QueryCallbackPlugin`
- 更新投诉通知回调
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\UpdateCallbackPlugin`
- 删除投诉通知回调
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\DeleteCallbackPlugin`
#### 商户处理用户投诉
- 回复用户
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\ResponsePlugin`
- 反馈处理完成
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\CompletePlugin`
- 更新退款审批结果
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\UpdateRefundPlugin`
#### 商户反馈图片
- 图片请求接口
`\Yansongda\Pay\Plugin\Wechat\V3\Extend\Complaints\QueryImagePlugin`

View File

@ -6,12 +6,12 @@
"web:serve": "vitepress serve"
},
"devDependencies": {
"@types/node": "^22.1.0",
"@types/node": "^22.9.2",
"fast-glob": "^3.3.2",
"sass": "^1.77.8",
"vite": "^5.3.5",
"vitepress": "^1.3.1",
"vue": "^3.4.35"
"sass": "^1.81.0",
"vite": "^5.4.11",
"vitepress": "^1.5.0",
"vue": "^3.5.13"
},
"pnpm": {
"peerDependencyRules": {

File diff suppressed because it is too large Load Diff