收藏
回答

调用同城配送的创建配送单接口时,返回934000,请问该如何处理?不知道错误原因

接口地址 

https://api.weixin.qq.com/cgi-bin/express/intracity/createstore?access_token={ACCESS_TOKEN}

@Test
public void testCreateOrder() {

    try {
        //组建参数对象
        String jsonParamStr = "{\n" +
                "  \"wx_store_id\": \"4000000000017020007\",\n" +
                "  \"store_order_id\": \"4000000000017020007\",\n" +
                "  \"user_openid\": \"ozMQO0WsxkA3E56SWBGrLGQ4WVZY\",\n" +
                "  \"user_lng\": \"119.20059\",\n" +
                "  \"user_lat\": \"36.722835\",\n" +
                "  \"user_address\": \"潍坊市奎文区新城街道惠贤路1672号 \",\n" +
                "  \"user_name\": \"爱智慧\",\n" +
                "  \"user_phone\": \"18206666666\",\n" +
                "  \"order_seq\": \"20001\",\n" +
                "  \"verify_code_type\": \"1\",\n" +
                "  \"order_detail_path\": \"https://www.baidu.com\",\n" +
                "  \"callback_url\": \"https://testcallback.com\",\n" +
                "  \"use_sandbox\": 1,\n" +
                "  \"cargo\": {\n" +
                "    \"cargo_name\": \"榴莲披萨套餐\",\n" +
                "    \"cargo_type\": 1,\n" +
                "    \"cargo_num\": 3,\n" +
                "    \"cargo_price\": 5000,\n" +
                "    \"cargo_weight\": 500,\n" +
                "    \"item_list\": [\n" +
                "      {\n" +
                "        \"item_name\": \"8寸榴莲\",\n" +
                "        \"count\": 1,\n" +
                "        \"item_pic_url\": \"https://www.qq.com\"\n" +
                "      },\n" +
                "      {\n" +
                "        \"item_name\": \"可口可乐\",\n" +
                "        \"count\": 2,\n" +
                "        \"item_pic_url\": \"https://www.qq.com\"\n" +
                "      }\n" +
                "    ]\n" +
                "  }\n" +
                "}";
        JSONObject jsonObject = new JSONObject(jsonParamStr);
        MainOrderRequest orderRequest = jsonObject.toBean(MainOrderRequest.class);
        System.out.println("参数对象--:" + JSONUtil.toJsonStr(orderRequest));

        //调用接口
        CreateOrderResp resp = wechatExpressService.CreateOrder(orderRequest);

        //打印响应对象
        System.out.println("响应报文" + JSONUtil.toJsonStr(resp));
    } catch (Exception e) {
        throw new RuntimeException(e);
    } finally {
    }
}


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

2 个回答

  • 1001@000@100
    1001@000@100
    星期二 17:18

    我也是,优先达达,一直934000,题主解决了吗

    星期二 17:18
    有用
    回复
  • Endy
    Endy
    08-16

    最近开始大量出现934000,这个模块官方是不是没人开发了?

    08-16
    有用
    回复
登录 后发表内容