Skip to content

上传文件接口-不支持自定义meta字段 #97

@CadmusJiang

Description

@CadmusJiang

【背景】
微信支付提供了电子小票业务能力,允许商家给微信支付订单上传电子小票。
为了提供商户上传的速度,采用业务信息填写在meta中,图片在file字段中,实现(业务信息+图片)一次性上传。
该接口meta样例

{"transaction_id":"42000000042021122322404111111","transaction_mchid":"11111111","out_trade_no":"111111111111111","openid":"ojGuH4ppbB2qA11111111111","sha256":"f5eb2e1c229479fb3ceb081b126c6d3fa71c47cb4f1111111111111","merchant_contact_information":{"consultation_phone_number":"123456"}}

【现状】
sdk当前的接口实现meta只有filename和filesha256两个默认值
image

【需求】
希望能够支持自定义meta的文件上传接口

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions