MinistryOfTransport/src/main/java/com/sinata/ministryoftransport/util/MinistryOfTransport.java
@@ -40,6 +40,7 @@
     * 上传企业基础信息
     */
    public String baseInfoCompany(BaseInfoCompany baseInfoCompany) throws Exception{
        System.err.println("公司信息"+baseInfoCompany);
        String IPCType = "baseInfoCompany";
        String path = url + "/baseinfo/company";
        Map<String, Object> data = new HashMap<>();
@@ -72,6 +73,7 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -83,6 +85,8 @@
     * 网约车平台公司营运规模信息接口
     */
    public String baseInfoCompanyStat(BaseInfoCompanyStat baseInfoCompanyStat) throws Exception{
        System.err.println("网约车平台公司营运规模信息接口"+baseInfoCompanyStat);
        String IPCType = "baseInfoCompanyStat";
        String path = url + "/baseinfo/companystat";
        Map<String, Object> data = new HashMap<>();
@@ -105,6 +109,7 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -116,6 +121,7 @@
     * 网约车平台公司支付信息
     */
    public String baseInfoCompanyPay(BaseInfoCompanyPay baseInfoCompanyPay) throws Exception{
        System.err.println("网约车平台公司支付信息"+baseInfoCompanyPay);
        String IPCType = "baseInfoCompanyPay";
        String path = url + "/baseinfo/companypay";
        Map<String, Object> data = new HashMap<>();
@@ -143,6 +149,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -154,6 +162,7 @@
     * 网约车平台公司服务机构
     */
    public String baseInfoCompanyService(BaseInfoCompanyService baseInfoCompanyService) throws Exception{
        System.err.println("网约车平台公司服务机构"+baseInfoCompanyService);
        String IPCType = "baseInfoCompanyService";
        String path = url + "/baseinfo/companyservice";
        Map<String, Object> data = new HashMap<>();
@@ -186,6 +195,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -197,6 +208,8 @@
     * 网约车平台公司经营许可
     */
    public String baseInfoCompanyPermit(BaseInfoCompanyPermit baseInfoCompanyPermit) throws Exception{
        System.err.println("网约车平台公司经营许可"+baseInfoCompanyPermit);
        String IPCType = "baseInfoCompanyPermit";
        String path = url + "/baseinfo/companypermit";
        Map<String, Object> data = new HashMap<>();
@@ -226,6 +239,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -237,6 +252,8 @@
     * 网约车平台公司运价信息
     */
    public String baseInfoCompanyFare(BaseInfoCompanyFare baseInfoCompanyFare) throws Exception{
        System.err.println("网约车平台公司运价信息"+baseInfoCompanyFare);
        String IPCType = "baseInfoCompanyFare";
        String path = url + "/baseinfo/companyfare";
        Map<String, Object> data = new HashMap<>();
@@ -282,6 +299,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -293,6 +312,8 @@
     * 车辆基本信息
     */
    public String baseInfoVehicle(BaseInfoVehicle baseInfoVehicle) throws Exception{
        System.err.println("车辆基本信息"+baseInfoVehicle);
        String IPCType = "baseInfoVehicle";
        String path = url + "/baseinfo/vehicle";
        Map<String, Object> data = new HashMap<>();
@@ -347,6 +368,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -358,6 +381,8 @@
     * 车辆保险信息
     */
    public String baseInfoVehicleInsurance(BaseInfoVehicleInsurance baseInfoVehicleInsurance) throws Exception{
        System.err.println("车辆保险信息"+baseInfoVehicleInsurance);
        String IPCType = "baseInfoVehicleInsurance";
        String path = url + "/baseinfo/vehicleinsurance";
        Map<String, Object> data = new HashMap<>();
@@ -386,6 +411,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -397,6 +424,8 @@
     * 网约车车辆里程信息
     */
    public String baseInfoVehicleTotalMile(BaseInfoVehicleTotalMile baseInfoVehicleTotalMile) throws Exception{
        System.err.println("网约车车辆里程信息"+baseInfoVehicleTotalMile);
        String IPCType = "baseInfoVehicleTotalMile";
        String path = url + "/baseinfo/vehicletotalmile";
        Map<String, Object> data = new HashMap<>();
@@ -421,6 +450,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -432,6 +463,8 @@
     * 驾驶员基本信息
     */
    public String baseInfoDriver(BaseInfoDriver baseInfoDriver) throws Exception{
        System.err.println("驾驶员基本信息"+baseInfoDriver);
        String IPCType = "baseInfoDriver";
        String path = url + "/baseinfo/driver";
        Map<String, Object> data = new HashMap<>();
@@ -474,16 +507,13 @@
        jsonObject.put("EmergencyContact", baseInfoDriver.getEmergencyContact());//紧急情况联系人
        jsonObject.put("EmergencyContactPhone", baseInfoDriver.getEmergencyContactPhone());//紧急情况联系人电话
        jsonObject.put("EmergencyContactAddress", baseInfoDriver.getEmergencyContactAddress());//紧急情况联系人通信地址
        jsonObject.put("State", baseInfoDriver.getState());//状态(0:有效,1:失效)
        jsonObject.put("Flag", baseInfoDriver.getFlag());//操作标识(1:新增,2:更新,3:删除)
        jsonObject.put("UpdateTime", Long.valueOf(sdf.format(baseInfoDriver.getUpdateTime())));
        data.put("CompanyId", CompanyId);
        data.put("Source", Source);
        data.put("IPCType", IPCType);
        data.put(IPCType, jsonObject);
        Map<String, String> header = new HashMap<>();
        header.put("connection", "keep-alive");
        header.put("content-type", "application/json; charset=UTF-8");
@@ -502,6 +532,8 @@
     * 网约车驾驶员培训信息
     */
    public String baseInfoDriverEducate(BaseInfoDriverEducate baseInfoDriverEducate) throws Exception{
        System.err.println("网约车驾驶员培训信息"+baseInfoDriverEducate);
        String IPCType = "baseInfoDriverEducate";
        String path = url + "/baseinfo/drivereducate";
        Map<String, Object> data = new HashMap<>();
@@ -530,6 +562,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -541,6 +575,8 @@
     * 驾驶员移动终端信息
     */
    public String baseInfoDriverApp(BaseInfoDriverApp baseInfoDriverApp) throws Exception{
        System.err.println("驾驶员移动终端信息"+baseInfoDriverApp);
        String IPCType = "baseInfoDriverApp";
        String path = url + "/baseinfo/driverapp";
        Map<String, Object> data = new HashMap<>();
@@ -569,6 +605,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -580,6 +618,8 @@
     * 驾驶员统计信息
     */
    public String baseInfoDriverStat(BaseInfoDriverStat baseInfoDriverStat) throws Exception{
        System.err.println("驾驶员统计信息"+baseInfoDriverStat);
        String IPCType = "baseInfoDriverStat";
        String path = url + "/baseinfo/driverstat";
        Map<String, Object> data = new HashMap<>();
@@ -607,6 +647,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -618,6 +660,8 @@
     * 乘客基本信息
     */
    public String baseInfoPassenger(BaseInfoPassenger baseInfoPassenger) throws Exception{
        System.err.println("乘客基本信息"+baseInfoPassenger);
        String IPCType = "baseInfoPassenger";
        String path = url + "/baseinfo/passenger";
        Map<String, Object> data = new HashMap<>();
@@ -644,6 +688,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -655,6 +701,8 @@
     * 订单发起接口
     */
    public String orderCreate(OrderCreate orderCreate) throws Exception{
        System.err.println("订单发起接口"+orderCreate);
        String IPCType = "orderCreate";
        String path = url + "/order/create";
        Map<String, Object> data = new HashMap<>();
@@ -686,6 +734,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -697,6 +747,8 @@
     * 订单成功接口
     */
    public String orderMatch(OrderMatch orderMatch) throws Exception{
        System.err.println("订单成功接口"+orderMatch);
        String IPCType = "orderMatch";
        String path = url + "/order/match";
        Map<String, Object> data = new HashMap<>();
@@ -724,6 +776,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -735,6 +789,8 @@
     * 订单撤销接口
     */
    public String orderCancel(OrderCancel orderCancel) throws Exception{
        System.err.println("订单撤销接口"+orderCancel);
        String IPCType = "orderCancel";
        String path = url + "/order/cancel";
        Map<String, Object> data = new HashMap<>();
@@ -760,6 +816,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -771,6 +829,8 @@
     * 车辆经营上线接口
     */
    public String operateLogin(OperateLogin operateLogin) throws Exception{
        System.err.println("车辆经营上线接口"+operateLogin);
        String IPCType = "operateLogin";
        String path = url + "/operate/login";
        Map<String, Object> data = new HashMap<>();
@@ -795,6 +855,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -806,6 +868,8 @@
     * 车辆经营下线接口
     */
    public String operateLogout(OperateLogout operateLogout) throws Exception{
        System.err.println("车辆经营下线接口"+operateLogout);
        String IPCType = "operateLogout";
        String path = url + "/operate/logout";
        Map<String, Object> data = new HashMap<>();
@@ -830,6 +894,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -841,6 +907,8 @@
     * 经营出发接口
     */
    public String operateDepart(OperateDepart operateDepart) throws Exception{
        System.err.println("经营出发接口"+operateDepart);
        String IPCType = "operateDepart";
        String path = url + "/operate/depart";
        Map<String, Object> data = new HashMap<>();
@@ -869,6 +937,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -880,6 +950,8 @@
     * 经营到达接口
     */
    public String operateArrive(OperateArrive operateArrive) throws Exception{
        System.err.println("经营到达接口"+operateArrive);
        String IPCType = "operateArrive";
        String path = url + "/operate/arrive";
        Map<String, Object> data = new HashMap<>();
@@ -905,6 +977,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -916,6 +990,8 @@
     * 经营支付接口
     */
    public String operatePay(OperatePay operatePay) throws Exception{
        System.err.println("经营支付接口"+operatePay);
        String IPCType = "operatePay";
        String path = url + "/operate/pay";
        Map<String, Object> data = new HashMap<>();
@@ -973,6 +1049,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -984,6 +1062,8 @@
     * 驾驶员定位信息
     */
    public String positionDriver(PositionDriver positionDriver) throws Exception{
        System.err.println("驾驶员定位信息"+positionDriver);
        String IPCType = "positionDriver";
        String path = url + "/position/driver";
        Map<String, Object> data = new HashMap<>();
@@ -1014,6 +1094,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        System.err.println("响应结果"+httpResult.getData());
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1025,6 +1107,8 @@
     * 车辆定位信息
     */
    public String positionVehicle(PositionVehicle positionVehicle) throws Exception{
        System.err.println("车辆定位信息"+positionVehicle);
        String IPCType = "positionVehicle";
        String path = url + "/position/vehicle";
        Map<String, Object> data = new HashMap<>();
@@ -1057,6 +1141,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1068,6 +1154,8 @@
     * 乘客评价信息
     */
    public String ratedPassenger(RatedPassenger ratedPassenger) throws Exception{
        System.err.println("乘客评价信息"+ratedPassenger);
        String IPCType = "ratedPassenger";
        String path = url + "/rated/passenger";
        Map<String, Object> data = new HashMap<>();
@@ -1092,6 +1180,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1103,6 +1193,8 @@
     * 乘客投诉信息
     */
    public String ratedPassengerComplaint(RatedPassengerComplaint ratedPassengerComplaint) throws Exception{
        System.err.println("乘客投诉信息"+ratedPassengerComplaint);
        String IPCType = "ratedPassengerComplaint";
        String path = url + "/rated/passengercomplaint";
        Map<String, Object> data = new HashMap<>();
@@ -1125,6 +1217,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1135,6 +1229,8 @@
     * 驾驶员处罚信息
     */
    public String ratedDriverPunish(RatedDriverPunish ratedDriverPunish) throws Exception{
        System.err.println("驾驶员处罚信息"+ratedDriverPunish);
        String IPCType = "ratedDriverPunish";
        String path = url + "/rated/driverpunish";
        Map<String, Object> data = new HashMap<>();
@@ -1157,6 +1253,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1168,6 +1266,8 @@
     * 驾驶员信誉信息
     */
    public String ratedDriver(RatedDriver ratedDriver) throws Exception{
        System.err.println("驾驶员信誉信息"+ratedDriver);
        String IPCType = "ratedDriver";
        String path = url + "/rated/driver";
        Map<String, Object> data = new HashMap<>();
@@ -1190,6 +1290,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1201,6 +1303,8 @@
     * 私人小客车合乘信息服务平台基本信息
     */
    public String shareCompany(ShareCompany shareCompany) throws Exception{
        System.err.println("私人小客车合乘信息服务平台基本信息"+shareCompany);
        String IPCType = "shareCompany";
        String path = url + "/share/company";
        Map<String, Object> data = new HashMap<>();
@@ -1229,6 +1333,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1239,6 +1345,8 @@
     * 私人小客车合乘驾驶员行程发布接口
     */
    public String shareRoute(ShareRoute shareRoute) throws Exception{
        System.err.println("私人小客车合乘驾驶员行程发布接口"+shareRoute);
        String IPCType = "shareRoute";
        String path = url + "/share/route";
        Map<String, Object> data = new HashMap<>();
@@ -1273,6 +1381,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1284,6 +1394,8 @@
     * 私人小客车合乘订单接口
     */
    public String shareOrder(ShareOrder shareOrder) throws Exception{
        System.err.println("私人小客车合乘订单接口"+shareOrder);
        String IPCType = "shareOrder";
        String path = url + "/share/order";
        Map<String, Object> data = new HashMap<>();
@@ -1316,6 +1428,8 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
@@ -1327,6 +1441,8 @@
     * 私人小客车合乘订单支付接口
     */
    public String sharePay(SharePay sharePay) throws Exception{
        System.err.println("私人小客车合乘订单支付接口"+sharePay);
        String IPCType = "sharePay";
        String path = url + "/share/pay";
        Map<String, Object> data = new HashMap<>();
@@ -1378,12 +1494,12 @@
        header.put("accept-encoding", "gzip");
        header.put("accept-charset", "utf-8");
        HttpResult httpResult = httpClientUtil.pushHttpRequset("POST", path, data, header, "json");
        if(httpResult.getCode() == 200){
            analysisResult(httpResult.getData());
        }
        return JSON.toJSONString(httpResult);
    }
    /**
     * 处理返回结果
@@ -1391,61 +1507,63 @@
     */
    private void analysisResult(String result){
        JSONObject jsonObject = JSON.parseObject(result);
        if(null == jsonObject){
            System.err.println("请求接口出错!");
            return;
        }
        int code = (Integer)jsonObject.get("status");
        if(code == 200){
            System.err.println("(成功)服务器已成功处理了请求");
        }
        if(code == 201){
            System.err.println("请求已经完成并一个新的返回资源被创建");
        }
        if(code == 400){
            System.err.println("(错误请求)服务器不理解请求的语法");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 401){
            System.err.println("(未授权)请求要求身份验证");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 403){
            System.err.println("(禁止)服务器拒绝请求");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 404){
            System.err.println("(未找到)服务器找不到请求的网页");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 500){
            System.err.println("服务器遭遇异常阻止了当前请求的执行");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 502){
            System.err.println("(错误网关)服务器作为网关或代理,从上游服务器收到无效响应");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 702){
            System.err.println("请求文件不存在");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 948){
            System.err.println("请求文件名格式不正确");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 949){
            System.err.println("文件解压失败");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 952){
            System.err.println("格式校验失败");
            System.err.println(jsonObject.getString("error"));
        }
        if(code == 1000){
            System.err.println("请求异常");
            System.err.println(jsonObject.getString("error"));
        }
//        if(null == jsonObject){
//            System.err.println("请求接口出错!");
//            return;
//        }
        System.err.println("(成功)服务器已成功处理了请求");
//        int code = (Integer)jsonObject.get("status");
//        if(code == 200){
//            System.err.println("(成功)服务器已成功处理了请求");
//        }
//        if(code == 201){
//            System.err.println("请求已经完成并一个新的返回资源被创建");
//        }
//        if(code == 400){
//            System.err.println("(错误请求)服务器不理解请求的语法");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 401){
//            System.err.println("(未授权)请求要求身份验证");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 403){
//            System.err.println("(禁止)服务器拒绝请求");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 404){
//            System.err.println("(未找到)服务器找不到请求的网页");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 500){
//            System.err.println("服务器遭遇异常阻止了当前请求的执行");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 502){
//            System.err.println("(错误网关)服务器作为网关或代理,从上游服务器收到无效响应");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 702){
//            System.err.println("请求文件不存在");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 948){
//            System.err.println("请求文件名格式不正确");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 949){
//            System.err.println("文件解压失败");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 952){
//            System.err.println("格式校验失败");
//            System.err.println(jsonObject.getString("error"));
//        }
//        if(code == 1000){
//            System.err.println("请求异常");
//            System.err.println(jsonObject.getString("error"));
//        }
    }