Skip to content

Commit

Permalink
docs: 完善插件文档 (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda authored Nov 23, 2024
1 parent 0aea5b2 commit dd084bf
Show file tree
Hide file tree
Showing 4 changed files with 1,016 additions and 488 deletions.
2 changes: 1 addition & 1 deletion web/docs/v3/alipay/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ $result = Pay::alipay()->pay($allPlugins, $params);

`\Yansongda\Pay\Plugin\Alipay\V2\Member\FaceVerification\ServerVerifyPlugin`

#### OCR
### OCR

- 服务端OCR

Expand Down
105 changes: 105 additions & 0 deletions web/docs/v3/wechat/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`


10 changes: 5 additions & 5 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading

0 comments on commit dd084bf

Please sign in to comment.