mirror of
https://gitee.com/yansongda/pay.git
synced 2024-11-29 18:58:38 +08:00
docs: 完善插件文档 (#1040)
This commit is contained in:
parent
0aea5b2ddc
commit
dd084bf145
@ -546,7 +546,7 @@ $result = Pay::alipay()->pay($allPlugins, $params);
|
|||||||
|
|
||||||
`\Yansongda\Pay\Plugin\Alipay\V2\Member\FaceVerification\ServerVerifyPlugin`
|
`\Yansongda\Pay\Plugin\Alipay\V2\Member\FaceVerification\ServerVerifyPlugin`
|
||||||
|
|
||||||
#### OCR
|
### OCR
|
||||||
|
|
||||||
- 服务端OCR
|
- 服务端OCR
|
||||||
|
|
||||||
|
@ -635,3 +635,108 @@ $result = Pay::wechat()->papay([
|
|||||||
'contract_id' => '签约ID',
|
'contract_id' => '签约ID',
|
||||||
])->toArray();
|
])->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`
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
"web:serve": "vitepress serve"
|
"web:serve": "vitepress serve"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.1.0",
|
"@types/node": "^22.9.2",
|
||||||
"fast-glob": "^3.3.2",
|
"fast-glob": "^3.3.2",
|
||||||
"sass": "^1.77.8",
|
"sass": "^1.81.0",
|
||||||
"vite": "^5.3.5",
|
"vite": "^5.4.11",
|
||||||
"vitepress": "^1.3.1",
|
"vitepress": "^1.5.0",
|
||||||
"vue": "^3.4.35"
|
"vue": "^3.5.13"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"peerDependencyRules": {
|
"peerDependencyRules": {
|
||||||
|
1425
web/pnpm-lock.yaml
1425
web/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user