|  |  | 
 |  |  | import java.io.IOException; | 
 |  |  | import java.math.BigDecimal; | 
 |  |  | import java.net.URLDecoder; | 
 |  |  | import java.net.URLEncoder; | 
 |  |  | import java.text.SimpleDateFormat; | 
 |  |  | import java.util.ArrayList; | 
 |  |  | import java.util.Arrays; | 
 |  |  | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public static String getWxUrl(String code, WxUrlParams paramCode, String ywid) { | 
 |  |  |         return  code.replace("${type}",paramCode.type+"").replace("${yw}",paramCode.yw).replace("${ywid}",ywid); | 
 |  |  |         String url = code.replace("${type}",paramCode.type+"").replace("${yw}",paramCode.yw).replace("${ywid}",ywid); | 
 |  |  |         try { | 
 |  |  |             url = URLEncoder.encode(code.replace("${type}",paramCode.type+"").replace("${yw}",paramCode.yw).replace("${ywid}",ywid),"UTF-8"); | 
 |  |  |         }catch (Exception e){ | 
 |  |  |  | 
 |  |  |         } | 
 |  |  |         return url; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public interface VisitIccmStatus{ | 
 |  |  | 
 |  |  |     } | 
 |  |  |     public  enum WxUrlParams { | 
 |  |  |         BISCREEN_CODE(0,0, "0", "门口大屏二维码"), | 
 |  |  |         MEETING_CODE(1,1, "1","会议室大屏") | 
 |  |  |         MEETING_CODE(1,2, "1","会议室大屏"), | 
 |  |  |         VISIT_RECORD_VISIT(2,1, "2","访客记录-访客"), | 
 |  |  |         VISIT_RECORD_USER(3,2, "2","访客记录-员工"), | 
 |  |  |         VISIT_REPORT_RECORD_USER(5,2, "3","访客报备记录-员工"), | 
 |  |  |         HIDDEN_DANGER(6,2, "4","隐患随手拍"), | 
 |  |  |         CAR_USE(7,2, "5","用车申请"), | 
 |  |  |         MEETING(8,2, "6","会议详情"), | 
 |  |  |         PLATFORM_BOOK_DRIVER(9,0, "7","物流车预约-司机"), | 
 |  |  |         PLATFORM_BOOK(10,2, "7","物流车预约-员工"), | 
 |  |  |         PLATFORM_JOB_DRIVER(11,0, "8","月台作业-司机"), | 
 |  |  |         ; | 
 |  |  |         // 成员变量 | 
 |  |  |         private int key; | 
 |  |  |         private int type;//用户类型 0员工 1司机 | 
 |  |  |         private int type;//用户类型 0司机 1访客 2员工 | 
 |  |  |         private String yw;//业务类型 | 
 |  |  |         private String info;//说明 | 
 |  |  |  |