生成订单:{"create_time":"2022-04-01 15:13:58","out_order_id":"6915556853952835584","openid":"oiSbT5NTjbRc5gFRn1p5-IKF16CM","path":"pages\/order\/detail?id=6915556853952835584&out_order_id=6915556853952835584","scene":"1195","order_detail":{"product_infos":[{"out_product_id":"6856068188533190656","out_sku_id":"6912280524209811456","product_cnt":"1","sale_price":1,"sku_real_price":1,"head_img":"https:\/\/img.prowyg.com\/5062842058804029\/images\/2021\/10\/q1SCGP20CX5E01Z2ves2P7710h85Tp.jpg","title":"(微信支付)希月女神洗护套装【自提+快递】","path":"pages\/product\/product?productId=6856068188533190656&id=6856068188533190656"}],"pay_info":{"pay_method_type":0},"price_info":{"order_price":1,"freight":0}},"delivery_detail":{"delivery_type":1},"address_info":{"receiver_name":"我们","detailed_address":"北京北京市东城区我们","tel_number":"13247351776"},"fund_type":1,"expire_time":1648800839}
售后单:{"out_order_id":"6915556853952835584","out_aftersale_id":"5321640862776557568","openid":"oiSbT5NTjbRc5gFRn1p5-IKF16CM","type":1,"product_info":[{"out_product_id":"6856068188533190656","out_sku_id":"6912280524209811456","product_cnt":1}],"refund_reason":"关闭订单","refund_reason_type":1,"orderamt":1}
微信返回:{"errcode":47001,"errmsg":"data format error rid: 6246b825-5fbdcb60-4131e669"}
我是没发货直接发起售后
生成订单接口会返回微信侧订单id, 然后再去请求https://api.weixin.qq.com/shop/order/getpaymentparams无需请求原来的统一下单接口即可生成支付参数 r然后requestOrderPayment拉起支付再支付. j接着再去请求这个售后单接口https://api.weixin.qq.com/shop/ecaftersale/add?access_token=xxxxxxxxx, 别去请求https://api.weixin.qq.com/shop/aftersale/add?access_token=xxxxxxxxx,因为这个没屌用
1