确实是我参数多传了,用的sdk,参数在之前申请退款的时候写入了,再次查询的时候也带上了申请退款的参数
微信退款,不识别的参数refund_desc微信退款,申请退款测试退款1分钱,退款金额已到微信账户,退款完成返回结果SUCCSS,为了谨慎起见立即执行了查询退款状态,这个时候返回 {"return_code":"FAIL","return_msg":"不识别的参数refund_desc"} 由于我发现钱已经到账了,我就我手动执行查询,查询结果正常 [ "appid" => "wx71ae0fd" "cash_fee" => "3" "mch_id" => "1600xxxxxx79" "nonce_str" => "pY4nrr4S3ZXWDc0d" "out_refund_no_0" => "201225162202RF731494" "out_refund_no_1" => "201225162542RF197662" "out_trade_no" => "201225162150tst52589294" "refund_account_0" => "REFUND_SOURCE_RECHARGE_FUNDS" "refund_account_1" => "REFUND_SOURCE_RECHARGE_FUNDS" "refund_channel_0" => "ORIGINAL" "refund_channel_1" => "ORIGINAL" "refund_count" => "2" "refund_fee" => "2" "refund_fee_0" => "1" "refund_fee_1" => "1" "refund_id_0" => "50300206772020122504972388436" "refund_id_1" => "50300206772020122504978221225" "refund_recv_accout_0" => "支付用户的零钱" "refund_recv_accout_1" => "支付用户的零钱" "refund_status_0" => "SUCCESS" "refund_status_1" => "SUCCESS" "refund_success_time_0" => "2020-12-25 16:22:54" "refund_success_time_1" => "2020-12-25 16:26:34" "result_code" => "SUCCESS" "return_code" => "SUCCESS" "return_msg" => "OK" "sign" => "508FF7EBE16D0xxxxxxxxxxxxxxx8CCC3E45" "total_fee" => "3" "transaction_id" => "42000xxxxxxxxxxxx3510778" ] 我退款完成查询的时候返回结果就应该是下面这个正常的数据啊?为什么会返回异常呢?我反复测试了,退款完成直接查询和后来手动查询的时候传的数据都是一样的;
2020-12-25