接口文档:https://docs.qq.com/doc/DV3lxV3hSbXFudVBE
支付接口:3.3 挂号/诊间支付统一下单API接口 https://api.weixin.qq.com/payinsurance/unifiedorder?access_token=ACCESS_TOKEN
这里传递0的时候 报下面的错
{"return_code":"SUCCESS","result_code":"FAIL","err_code":"513","err_code_des":"in cash combine insurance pay mode, cash_fee must be more than 0[graphid:33613527]","nonce_str":"kG6O0s9vGCTwuFlsnTLuzoycbhuIceUS","sign":"3E1FA5D365C6C9E8C292821FFCB1417D"}
不传cash_fee,报下面的错
{"return_code":"FAIL","return_msg":"参数格式校验错误 cash_fee is needed.... rid: 65518fd4-13784e5c-35cf3c2f"}
cash_fee传值已解决
cash_fee 必须大于0,那个错误是因为你微信绑定的医保账户与你支付时传的是一个人的吗?仔细检查下吧