⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 purviewcodes.java

📁 WAP PUSH后台源码,WAP PUSH后台源码
💻 JAVA
字号:
package com.sxit.wap.common;import java.util.*;public class PurviewCodes {  public static Hashtable ALL = new Hashtable();  public static short WAP_MENU_IMG = 0;  static {    WAP_MENU_IMG = 1010;    ALL.put(new Short(WAP_MENU_IMG), "图片管理");  }  public static short WAP_INTERNAL_COLUMN = 0;  static {    WAP_INTERNAL_COLUMN = 1020;    ALL.put(new Short(WAP_INTERNAL_COLUMN), "首页广告");  }  public static short WAP_MENU = 0;  static {    WAP_MENU = 1030;    ALL.put(new Short(WAP_MENU), "目录管理");  }  public static short WAP_MENU_ORDER = 0;  static {    WAP_MENU_ORDER = 1050;    ALL.put(new Short(WAP_MENU_ORDER), "目录排序");  }  public static short WAP_CHANNEL_TYPE = 0;  static {    WAP_CHANNEL_TYPE = 1060;    ALL.put(new Short(WAP_CHANNEL_TYPE), "频道类型");  }  public static short WAP_INDEX_MENU = 0;  static {    WAP_INDEX_MENU = 1070;    ALL.put(new Short(WAP_INDEX_MENU), "首页菜单");  }  public static short WAP_TOP = 0;  static {    WAP_TOP = 1080;    ALL.put(new Short(WAP_TOP), "热点栏目");  }  public static short WAP_SYS_MENU = 0;  static {    WAP_SYS_MENU = 1090;    ALL.put(new Short(WAP_SYS_MENU), "系统目录");  }  public static short WAP_CP = 0;  static {    WAP_CP = 2010;    ALL.put(new Short(WAP_CP), "CP 信息");  }  public static short WAP_CHANNEL = 0;  static {    WAP_CHANNEL = 2020;    ALL.put(new Short(WAP_CHANNEL), "CP 业务");  }  public static short WAP_GROUP = 0;  static {    WAP_GROUP = 3010;    ALL.put(new Short(WAP_GROUP), "集团信息");  }/*  public static short WAP_GROUP_CHANNEL = 0;  static {    WAP_GROUP_CHANNEL = 3020;    ALL.put(new Short(WAP_GROUP_CHANNEL), "集团频道");  }*/  public static short WAP_USER_SUB = 0;  static {    WAP_USER_SUB = 4010;    ALL.put(new Short(WAP_USER_SUB), "取消定制");  }  public static short WAP_SMS = 0;  static {    WAP_SMS = 4020;    ALL.put(new Short(WAP_SMS), "短信群发");  }  public static short WAP_USER = 0;  static {    WAP_USER = 5010;    ALL.put(new Short(WAP_USER), "用户管理");  }  public static short WAP_ADMIN = 0;  static {    WAP_ADMIN = 5020;    ALL.put(new Short(WAP_ADMIN), "操作员管理");  }/*  public static short WAP_NETSTAT = 0;  static {    WAP_NETSTAT = 5030;    ALL.put(new Short(WAP_NETSTAT), "监控管理");  }*/  public static short WAP_MODIFY_LOG = 0;  static {    WAP_MODIFY_LOG = 5040;    ALL.put(new Short(WAP_MODIFY_LOG), "日志管理");  }  public static short WAP_ACCESS = 0;  static {    WAP_ACCESS = 5050;    ALL.put(new Short(WAP_ACCESS), "访问记录");  }  public static short WAP_SYSTEM_PARAM = 0;  static {    WAP_SYSTEM_PARAM = 5060;    ALL.put(new Short(WAP_SYSTEM_PARAM), "系统参数");  }  public static short WAP_AREA = 0;  static {    WAP_AREA = 5070;    ALL.put(new Short(WAP_AREA), "号段管理");  }  public static short WAP_REPORT = 0;  static {    WAP_REPORT = 6010;    ALL.put(new Short(WAP_REPORT), "统计报表");  }  public static Vector sortPurviewKeys() {    return getSortKeys(ALL);  }  private static Vector getSortKeys(Hashtable sh) {    Vector vector = new Vector();    Enumeration en = sh.keys();    java.util.List list = new ArrayList();    while (en.hasMoreElements()) {      Short key = (Short)en.nextElement();      list.add(key);    }    Collections.sort(list);    Iterator it = list.iterator();    while (it.hasNext()) {      vector.add((Short)it.next());    }    return vector;  }  public static void main(String[] args) throws Exception {  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -