导入订单api
接口:https://api.weixin.qq.com/mall/importorder?action=add-order&access_token=access_token
入参"{'order_list':[{'order_id':'Ssdfs80','create_time':'123456','pay_finish_time':'123456','fee':100,'status':3,'ext_info':{'product_info':{'item_list':[{'item_code':'Ssdfs80','sku_id':名称','amount':1,'total_fee':100,'thumb_url':'img','title': '内容','unit_price': 100,'original_price': 100,'category_list': '名称','item_detail_page':{'path':'/pages/index/index'}}]},'express_info':{'price':0},'brand_info':{'phone':'10000','contact_detail_page':'/pages/index/index'},'payment_method':2,'user_open_id':'oylPz0PgSkVyX5gCCs_DQBAB93eU','order_detail_page':{'path':'/pages/orderQuery/orderQuery'}}}]}"
报错
{"fail_order_list":[],"errcode":9009098,"errmsg":"invalid args, hint: Fail pages/index/index, Error before \"},\"payment_method\":2,\"user_open_id\":\"oylPz0PgSkVyX5gCCs_DQBAB93eU\",\"order_detail_page\":{\"path\":\"pages/orderQuery/orderQuery\"}}}]}"}
有可能json格式问题
找到问题了,确实json的问题
ok
错误和你一样,,哪儿的问题--