//在controll中进行调用; String content = HttpJsonUtils.getPostByTextPlain(request); //根据json数据中对象的key值及其类型取出相应的参数值 JSONObject jsObject = JSONObject.fromObject(content); try { usermob = jsObject.getString("usermob"); cpid = jsObject.getString("cpid"); spid = jsObject.getString("spid"); type = jsObject.getString("type"); ordertime = jsObject.getString("ordertime"); canceltime = jsObject.getString("canceltime"); endtime = jsObject.getString("endtime"); channelcode = jsObject.getString("channelcode"); province = jsObject.getString("province"); area = jsObject.getString("area"); ordertype = jsObject.getString("ordertype"); videoid = jsObject.getString("videoid"); } catch (Exception e) { LOGGER.info("发生错误*****" + e.getMessage()); }