TheNorthMemory / wechatpay-openapi

https://thenorthmemory.github.io/wechatpay-openapi/
MIT License
33 stars 6 forks source link

接口 "查询订单剩余待分金额API" 缺失 IDE 提示 #1

Closed BraisedFish closed 10 months ago

TheNorthMemory commented 1 year ago

https://github.com/TheNorthMemory/wechatpay-openapi/blob/d1bb855c160fb35754a88516edad062593e698bb/src/V3/Profitsharing/Transactions/_transaction_id_/Amounts.php#L12-L19

对应PHP调用代码

$instance->v3->profitsharing->transactions->_transaction_id_->amounts->get(['transaction_id' => 'xxx']);
BraisedFish commented 10 months ago

https://github.com/TheNorthMemory/wechatpay-openapi/blob/d1bb855c160fb35754a88516edad062593e698bb/src/V3/Profitsharing/Transactions/_transaction_id_/Amounts.php#L12-L19

对应PHP调用代码

$instance->v3->profitsharing->transactions->_transaction_id_->amounts->get(['transaction_id' => 'xxx']);

服务商文档中的接口仍然缺少 IDE 提示 https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_9.shtml

TheNorthMemory commented 10 months ago

感谢反馈,已于 https://github.com/TheNorthMemory/wechatpay-openapi/commit/76c6eaee86bfa8a4202569c84b3055e37fe0ca40 新增, v0.15.18 。

$instance->v3
  ->ecommerce->profitsharing
  ->orders->_transaction_id_
  ->amounts->get(['transaction_id' => 'xxx']);