iwechatpay/openapi

为 wechatpay/wechatpay 增加IDE提示的接口描述包。

v0.6.0 2021-10-11 11:46 UTC

This package is auto-updated.

Last update: 2021-10-11 11:51:28 UTC


README

wechatpay/wechatpay 增加IDE提示的接口描述包,整理自官方文档中心

GitHub actions Packagist Stars Packagist Downloads Packagist Version Packagist PHP Version Support Packagist License

PHP

推荐使用 composer v2 安装

composer require --dev iwechatpay/openapi

特殊URI语法规则

URI 模版变量 说明
secapi/mch/addInstitutionsub {addinstitutionsub} addInstitutionsub URI上有大写字符
secapi/mch/modifyInstitutionsub {modifyinstitutionsub} modifyInstitutionsub URI上有大写字符
secapi/mch/queryInstitutionsub {queryinstitutionsub} queryInstitutionsub URI上有大写字符
v3/applyment4sub/applyment/ {stub} 固定值,空字符串,构造末尾是/需要
v3/ecommerce/applyments/ {stub} 固定值,空字符串,构造末尾是/需要
v3/ecommerce/subsidies/return {return} return 固定值,return为PHP语法关键字
v3/marketing/busifavor/coupons/return {return} return 固定值,return为PHP语法关键字
v3/marketing/busifavor/coupons/use {use} use 固定值,use为PHP语法关键字

License

MIT