Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pay_order建议增加mch_id 字段 #9

Open
wintermin opened this issue Dec 14, 2020 · 2 comments
Open

pay_order建议增加mch_id 字段 #9

wintermin opened this issue Dec 14, 2020 · 2 comments

Comments

@wintermin
Copy link

pay_order建议增加mch_id 字段:
渠道新接口都以app_id+mch_id来做一次下单的参数,只存一个app_id在表里,后续将很难扩展。比如:渠道以商户号的形式出账单对账,app_id 微信可以挂在不同mch_id下,订单不记录mch_id将不知道如何写这种代码;报表统计:以商户号为维度的统计也将不知如何识别

@github-actions
Copy link

Message that will be displayed on users' first issue

@blademainer
Copy link
Member

pay_order建议增加mch_id 字段:
渠道新接口都以app_id+mch_id来做一次下单的参数,只存一个app_id在表里,后续将很难扩展。比如:渠道以商户号的形式出账单对账,app_id 微信可以挂在不同mch_id下,订单不记录mch_id将不知道如何写这种代码;报表统计:以商户号为维度的统计也将不知如何识别

可能一级还不够,有些涉及代理、子商户的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants