收藏
回答

同步好物圈订单,接口返回success,但订单列表中没有订单

AppID为wxbf1e0cc7d0720603,请求接口为https://api.weixin.qq.com/mall/importorder?action=add-order&is_history=0&access_token=ACCESS_TOKEN,提交的json为

{ "order_list" : [ { "order_id" : "1563518106499", "create_time" : 1564363297, "pay_finish_time" : 1564363297, "fee" : 1, "status" : 100, "trans_id" : "4200000221201812149198868732", "ext_info" : { "product_info" : { "item_list" : [ { "item_code" : "1563518106499", "sku_id" : "1563518106499", "amount" : 1, "total_fee" : 1, "thumb_url" : "https://www.yvjie.cn/demo/yjorder/uploads/2017-02/58354771ce2a7.jpg", "title" : "冲锋衣", "unit_price" : 1, "original_price" : 2, "poi_list" : [ { "longitude" : 116.32676, "latitude" : 40.003305, "radius" : 4, "business_name" : "肯德基", "branch_name" : "珠江新城店", "address" : "新港中路123号" } ], "category_list" : [ "衣服", "T-shirt" ], "item_detail_page" : { "src_h5_path" : "https://www.yvjie.cn/demo/yjorder/api.php/item/2.html" } } ] }, "express_info" : { "price" : 0 }, "brand_info" : { "phone" : "12345678", "contact_detail_page" : { "src_h5_path" : "https://www.yvjie.cn/demo/yjorder/api.php/item/2.html" } }, "payment_method" : 1, "user_open_id" : "odh0BtM-3KOuH9rbql8Rl4S_i3lY", "order_detail_page" : { "src_h5_path" : "https://www.yvjie.cn/demo/yjorder/api.php/item/2.html", "kf_type" : 3 } } } ] }

请求返回结果为

{"fail_order_list":[],"errcode":0,"errmsg":"success"}

但是订单列表中没有订单是怎么回事呀?

回答关注问题邀请回答
收藏

1 个回答

  • xy
    xy
    2019-07-29

    给用户导入的订单,显示在订单列表需要用户授权小程序的。

    具体操作: 好物圈->隐私->授权管理->允许授权小程序(之前导入的订单就会显示出来



    2019-07-29
    有用 1
    回复 1
    • 方块田
      方块田
      2019-07-29
      谢了,已解决~
      2019-07-29
      回复
登录 后发表内容