@@ -0,0 +1,1583 @@
+package weixin.popular.bean.paymch;%0D%0A%0D%0Aimport javax.xml.bind.annotation.adapters.XmlAdapter;%0D%0A%0D%0Aimport weixin.popular.util.JsonUtil;%0D%0A%0D%0Apublic class SceneInfo %7B%0D%0A%0D%0A%09private H5Info h5_info;%0D%0A%0D%0A%09public H5Info getH5_info() %7B%0D%0A%09%09return h5_info;%0D%0A%09%7D%0D%0A%0D%0A%09public void setH5_info(H5Info h5_info) %7B%0D%0A%09%09this.h5_info = h5_info;%0D%0A%09%7D%0D%0A%0D%0A%09public static class H5Info %7B%0D%0A%0D%0A%09%09private String type;%0D%0A%0D%0A%09%09private String app_name;%0D%0A%0D%0A%09%09private String package_name;%0D%0A%0D%0A%09%09private String wap_url;%0D%0A%0D%0A%09%09private String wap_name;%0D%0A%0D%0A%09%09public String getType() %7B%0D%0A%09%09%09return type;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public void setType(String type) %7B%0D%0A%09%09%09this.type = type;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public String getApp_name() %7B%0D%0A%09%09%09return app_name;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public void setApp_name(String app_name) %7B%0D%0A%09%09%09this.app_name = app_name;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public String getPackage_name() %7B%0D%0A%09%09%09return package_name;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public void setPackage_name(String package_name) %7B%0D%0A%09%09%09this.package_name = package_name;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public String getWap_url() %7B%0D%0A%09%09%09return wap_url;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public void setWap_url(String wap_url) %7B%0D%0A%09%09%09this.wap_url = wap_url;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public String getWap_name() %7B%0D%0A%09%09%09return wap_name;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09public void setWap_name(String wap_name) %7B%0D%0A%09%09%09this.wap_name = wap_name;%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%0D%0A%09static class JsonXmlAdapter extends XmlAdapter%3CString, SceneInfo%3E %7B%0D%0A%0D%0A%09%09@Override%0D%0A%09%09public String marshal(SceneInfo arg0) throws Exception %7B%0D%0A%09%09%09return %22%3C!%5BCDATA%5B%22 + JsonUtil.toJSONString(arg0) + %22%5D%5D%3E%22;%0D%0A%09%09%7D%0D%0A%0D%0A%09%09@Override%0D%0A%09%09public SceneInfo unmarshal(String arg0) throws Exception %7B%0D%0A%09%09%09return JsonUtil.parseObject(arg0, SceneInfo.class);%0D%0A%09%09%7D%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

添加 SceneInfo