/**
 * 全局通用的常量定义</br>
 * 引用方式：<b>this.commonConst.&lt;const_name&gt;</b></br>
 * 其中&lt;const_name&gt;包括：
 *
 * @Author: liusheng
 * @Date: 2021-01-17 22:43:52
 *
 * @property {} <b>MIME类型</b>
 * @property {string} CNTYPE_JSON MIME类型：请求数据为JSON格式
 * @property {string} CNTYPE_URLENCODED MIME类型：PUT请求参数为散列字段时使用
 * @property {string} CNTYPE_FORM_DATA MIME类型：POST请求参数为散列字段时使用
 *
 * @property {} <b>axios请求的返回code值</b>
 * @property {number} RESTFUL_SUCC 后端Restful请求返回结果之code值-成功(2000)
 * @property {number} RESTFUL_FAIL 后端Restful请求返回结果之code值-失败(2001)
 * @property {number} RESTFUL_LOGIN_USER_NOT_EXIST 后端Restful请求返回结果之code值-用户不存在(2009)
 * @property {number} RESTFUL_FORBID_LOGIN 后端Restful请求返回结果之code值-禁止该用户登录(2010)
 * @property {number} RESTFUL_NOT_LOGIN 后端Restful请求返回结果之code值-未登录或登录超时(2012)
 * @property {number} RESTFUL_TRY_MAINTAIN_NOTICE 该值非后端返回，而是前端请求收到404、502时，指示尝试检查IMS系统是否有系统公告(2020)
 *
 * @property {} <b>登录及注册</b>
 * @property {string} LOGIN_PREFIX_PASSWD 用户登录类型前缀-用户名+密码登录(passwd+)
 * @property {string} LOIGN_PREFIX_MOBILE 用户登录类型前缀-手机号+密码登录(mobile+)
 * @property {string} LOIGN_PREFIX_VERIFY_CODE: 用户登录类型前缀-手机号+验证码登录(vcode+)
 * @property {string} LOIGN_PREFIX_EMAIL 用户登录类型前缀-邮箱+密码登录(email+)
 *
 * @property {} <b>定时器的间隔时间</b>
 * @property {number} INTERVAL_NOTICE 通知定时检查的间隔时间(2分钟)
 * @property {number} INTERVAL_SYSTEM_INDEX 系统指标定时刷新的间隔时间(30秒)
 * @property {number} INTERVAL_SYSTEM_ACCESS_DATA 并发量统计定时刷新的间隔时间(1分钟)
 * @property {number} INTERVAL_SYSTEM_DB_INFO 数据库状态定时刷新的间隔时间(1分钟)
 *
 * @property {} <b>分页</b>
 * @property {number} PAGE_SIZE 分页显示之每页条数(10)
 * @property {array} PAGE_SIZES 分页显示之每页可选择条数([10, 20, 30])
 *
 * @property {} <b>通用校验正则表达式</b>
 * @property {string} REGEXP_MOBILE 手机号正则表达式（11位数字，以1开对）
 * @property {string} REGEXP_IDCARDNO 身份证号正则表达式（18位）
 * @property {string} REGEXP_PASSWORD 密码正则表达式 (由8-16位大小写字母、数字和特殊字符组成)
 *
 * @property {} <b>杂项</b>
 * @property {number} TYPE_ROLE_RESERVED 角色类型之系统保留角色(9)
 *
 * @property {} <b>高德地图初始化和定位依赖的JS文件地址</b>
 * @property {number} QQMAP_INIT 初始化依赖JS地址
 * @property {number} QQMAP_GEOlOCATION 定位依赖JS地址
 * *
 * @property {} <b>中台请求地址</b>
 * @property {string} URL_RETRIEVE_PUBLIC_NOTICE IMS公告获取地址
 */
let CommonConst = {
    // MIME类型
    CNTYPE_JSON: "application/json;charset=UTF-8",
    CNTYPE_URLENCODED: "application/x-www-form-urlencoded;charset=UTF-8",
    CNTYPE_FORM_DATA: "multipart/form-data;charset=UTF-8",

    // axios请求的返回code值
    RESTFUL_SUCC: 2000,
    RESTFUL_FAIL: 2001,
    RESTFUL_LOGIN_USER_NOT_EXIST: 2009,
    RESTFUL_FORBID_LOGIN: 2010,
    RESTFUL_NOT_LOGIN: 2012,
	
    //该值非后端返回，而是前端请求收到404、502时，指示尝试检查IMS系统是否有系统公告
	RESTFUL_TRY_MAINTAIN_NOTICE: 2020,	

    //登录类型前缀
    LOGIN_PREFIX_PASSWD: 'passwd+',
    LOIGN_PREFIX_MOBILE: "mobile+",
    LOIGN_PREFIX_VERIFY_CODE: "vcode+",
    LOIGN_PREFIX_EMAIL: "email+",

    // 系统中各定时器的间隔时间
    INTERVAL_NOTICE: 1000 * 60 * 2, //2分钟
    INTERVAL_SYSTEM_INDEX: 1000 * 30, //30秒
    INTERVAL_SYSTEM_ACCESS_DATA: 1000 * 60, //1分钟
    INTERVAL_SYSTEM_DB_INFO: 1000 * 60, //1分钟

    // 分页
    PAGE_SIZE: 10,
    PAGE_SIZES: [10, 20, 50, 100],

    //通用校验正则表达式
    REGEXP_MOBILE: /^1\d{10}$/, //11位数字，1开头
    REGEXP_IDCARDNO: /(^\d{18}$)|(^\d{17}([0-9Xx])$)/,
    REGEXP_PASSWORD: /^(?=.*?[a-z])(?=.*?[A-Z])(?=.*?\d)(?=.*?[!#@*&.])[a-zA-Z\d!#@*&.]{8,16}$/,
    
    // 杂项业务常量
    TYPE_ROLE_RESERVED: 9,

    //高德地图初始化及地图定位需加载依赖的JS地址
    QQMAP_INIT: 'https://map.qq.com/api/js?v=2.exp&callback=init&key=',
    QQMAP_GEOlOCATION: 'https://mapapi.qq.com/web/mapComponents/geoLocation/v/geolocation.min.js',
};

/**
 * 全局通用的接口URL地址定义</br>
 * 引用方式：<b>this.commonUrl.&lt;const_name&gt;</b></br>
 * 其中&lt;const_name&gt;包括：
 *
 * @Author: liusheng
 * @Date: 2021-04-17 2:43:52
 *
 * @property {} <b>50A-图形验证码API</b>
 * @property {string} URL_GET_TEXT_IMAGE_VCODE 获取文字图片验证码
 * @property {string} URL_GET_SLIDE_IMAGE_VCODE 获取滑块图片验证码
 * @property {string} URL_VERIFY_SLIDE_IMAGE_VCODE 验证滑块图片验证码是否正确

 * @property {} <b>51A-通用配置API（行政区划等）</b>
 * @property {string} URL_LIST_PROVINCE 查询所有省级列表
 * @property {string} URL_LIST_CITY 查询指定省的所有市列表
 * @property {string} URL_LIST_COUNTY 查询指定市的所有县列表
 * @property {string} URL_LIST_COMMON_PROVINCE 查询所有省级列表
 * @property {string} URL_LIST_COMMON_CITY 查询指定省的所有市列表
 * @property {string} URL_LIST_COMMON_COUNTY 查询指定市的所有县列表

 * @property {} <b>51B-临时文件访问API</b>
 * @property {string} URL_DOWNLOAD_TEMP_FILE 下载指定临时文件
 * @property {string} URL_UPLOAD_TEMP_FILE 上传临时文件(保存在系统临时目录中，可进一步转储为永久文件)，1小时后自动删除
 *
 * @property {} <b>51C-Mongo文件访问API</b>
 * @property {string} URL_DOWNLOAD_FILE_VIA_SESSION_KEY 下载指定文件，同时支持临时文件和Mongo文件。 (小程序专用，安全白名单url)
 * @property {string} URL_DOWNLOAD_FILE 下载指定文件，同时支持临时文件和Mongo文件
 * @property {string} URL_UPLOAD_PERM_FILE 上传文件并保存到MongoDB
 * @property {string} URL_DELETE_FILE 删除指定文件， 返回true表示删除成功

 * @property {} <b>51D-APP专用API</b>
 * @property {string} URL_GET_VERSION_INFO 获取APP当前版本信息

 * @property {} <b>51E-消息通知API</b>
 * @property {string} URL_COUNT_NOTICE 获取总消息+未读消息数量
 * @property {string} URL_PAGE_NOTICES 分页获取指定过滤条件的通知
 * @property {string} URL_GET_NOTICE 获取指定消息详情
 * @property {string} URL_UPDATE_NOTICE_STATUS 更新指定消息为已读
 * @property {string} URL_UPDATE_NOTICE_LIST 批量更新通知的状态为已读

 * @property {} <b>52A-角色管理API</b>
 * @property {string} URL_LIST_ROLES 查询所有角色列表（不分页）
 * @property {string} URL_GET_ROLEDO_4_ADD 获取新增角色表单所需数据
 * @property {string} URL_GET_ROLEDO_4_UPDATE 获取被编辑的指定角色表单所需数据
 * @property {string} URL_SAVE_ROLE 保存新增角色数据
 * @property {string} URL_UPDATE_ROLE 更新被编辑角色数据
 * @property {string} URL_DELETE_ROLE 删除指定角色（逻辑删除）
 * @property {string} URL_GET_OPR_PRIVILEGS 获取当前用户的角色配置权限

 * @property {} <b>52B-页面框架API</b>
 * @property {string} URL_IS_LOGGEDIN 测试用户是否登录（用于前端判定启动时显示登录页面或主页面）
 * @property {string} URL_LIST_FUNCTIONS 获取菜单列表（对应于登录角色）
 * @property {string} URL_GET_ROLE_FUNC_ITEMS_4_CURROLE  获取当前角色指定功能菜单的功能细项权限，即数据权限

 * @property {} <b>53A-系统指标API（全服务器及应用）</b>
 * @property {string} URL_LIST_SERVERS 获取运行系统中的服务器列表
 * @property {string} URL_LIST_APPLICATIONS 获取运行系统中app类型的应用程序列表
 * @property {string} URL_GET_LOWER_SYSTEM_INFO 获取当前操作系统和JVM运行数据
 * @property {string} URL_GET_DATABASE_INFO 获取数据库统计数据
 * @property {string} URL_LIST_SQL_TABLES_INFO 获取指定数据库中各表的统计数据

 * @property {} <b>53B-访问数据API（全服务器及应用）</b>
 * @property {string} URL_PAGE_ACCESS_DATA 分页获取指定过滤条件的访问统计数据
 * @property {string} URL_GET_ACCESS_STATISTICS 获取应用的指定日期的访问统计数据

 * @property {} <b>53C-缓存管理API（全服务器及应用）</b>
 * @property {string} URL_PAGE_REFRESH_SMS_CACHE 分页获取刷短信缓存列表
 * @property {string} URL_CLEAR_REFRESH_SMS_CACHE_ENTRY 清除刷短信缓存指定条目
 * @property {string} URL_LIST_APPLICATIONS_CACHEMNG 获取缓存管理运行系统中app类型的应用程序列表

 * @property {} <b>53D-系统日志API（全服务器及应用）</b>
 * @property {string} URL_PAGE_LOG_FILES 分页获取指定日期范围的日志文件列表
 * @property {string} URL_READ_LOG_FILE_CONTENT 获取指定日志文件中的内容（最大2M）

 * @property {} <b>53E-业务日志API（全服务器及应用）</b>
 * @property {string} URL_GET_REALTIME_BIZLOG_DTO 获取指定应用的实时业务访问统计数据
 * @property {string} URL_PAGE_BIZ_DATAS 分页获取指定日期的业务访问统计
 * @property {string} URL_PAGE_BIZ_LOGS 分页获取指定查询条件的业务日志

 * @property {} <b>54C-Mongo文件管理API</b>
 * @property {string} URL_PAGE_MONGO_FILES 按过滤条件分页获取Mongo文件列表
 * @property {string} URL_GET_MONGO_FILE_FILTER_DO 获取查询mongo文件过滤条件DO
 * @property {string} URL_GET_MONGO_FILE_DETAIL 获取指定Mongo文件详情
 * @property {string} URL_DOWNLOAD_MONGO_FILE 下载指定Mongo文件
 * @property {string} URL_REPLACE_MONGOFILE 更新替换指定文件
 * @property {string} URL_DELETE_MONGO_FILE 删除指定文件，返回true表示删除成功

 * @property {} <b>54D-APP版本管理API</b>
 * @property {string} URL_LIST_APP_VERSIONS 获取APP版本列表。总计前10条，如果指定平台则返回前5条
 * @property {string} URL_GET_APP_VERSION_DO_4_ADD 获取新增APP版本DO
 * @property {string} URL_GET_APP_VERSIONDO_4_UPDATE 获取指定id的APP版本DO(编辑用DO)
 * @property {string} URL_SAVE_APP_VERSION 保存新版本记录
 * @property {string} URL_UPDATE_APP_VERSION 更新版本记录
 * @property {string} URL_UPDATE_APPVERSION_STATUS 更新指定APP版本的状态"
 * @property {string} URL_DELETE_APP_VERSION 删除指定id的APP版本记录
 
 * @property {} <b>56A-许可证API</b>
 * @property {string} URL_GET_LICENSE_MSG 获取许可证告警信息。

 * @property {} <b>60A-短信服务API</b>
 * @property {string} URL_COMMON_SM_VCODE 向指定手机号发送短信验证码。返回结果：true/false-图形验证是否通过

 * @property {} <b>60B-实名认证API</b>
 * @property {string} URL_FACE_RECOGNIZE 人脸识别实名认证。白名单：开发/模拟/调试/张三/李四/王五
 * @property {string} URL_VERIFY_IDCARD 身份证实名认证。白名单：开发/模拟/调试/张三/李四/王五
 * @property {string} URL_VERIFY_IDCARD_AND_MOBILE 手机三要素实名认证。白名单：开发/模拟/调试/张三/李四/王五

 * @property {} <b>61A-微信小程序API</b>
 * @property {string} URL_MINI_PRELOGIN 小程序预登录后端系统
 * @property {string} URL_FACE_VERIFY_RESULT 小程序原生人脸识别结果验证

 * @property {} <b>61C-微信支付API</b>
 * @property {string} URL_MINI_PREORDER 小程序微信支付预下单
 * @property {string} URL_GET_ORDER_TRASE_STATUS 查询微信支付订单状态
 */
function CommonUrl(baseUrl) {
    // 50A-图形验证码API
    this.URL_GET_TEXT_IMAGE_VCODE = baseUrl + '/tjfmw/base/vcode/textimg';
    this.URL_GET_SLIDE_IMAGE_VCODE = baseUrl + '/tjfmw/base/vcode/slideimg/{imgWidth}';
    this.URL_VERIFY_SLIDE_IMAGE_VCODE = baseUrl + '/tjfmw/base/vcode/slideimg/verify';

    // 50C-站内消息通知API
    this.URL_COUNT_NOTICE = baseUrl + '/tjfmw/base/notice/count';
    this.URL_PAGE_NOTICES = baseUrl + '/tjfmw/base/notice/page/filter';
    this.URL_GET_NOTICE = baseUrl + '/tjfmw/base/notice/{id}';
    this.URL_UPDATE_NOTICE_STATUS = baseUrl + '/tjfmw/base/notice/{id}/read';
    this.URL_UPDATE_NOTICE_LIST = baseUrl + '/tjfmw/base/notice/list';
    
    // 51A-临时文件访问API
    this.URL_DOWNLOAD_TEMP_FILE = baseUrl + '/tjfmw/base/tempfile/{filename}';
    this.URL_UPLOAD_TEMP_FILE = baseUrl + '/tjfmw/base/tempfile/{biz}/{type}';

    // 51B-Mongo文件访问API
    this.URL_DOWNLOAD_FILE_VIA_SESSION_KEY = baseUrl + '/tjfmw/base/file/sessionkey/{filename}';
    this.URL_DOWNLOAD_FILE = baseUrl + '/tjfmw/base/file/{filename}';
    this.URL_UPLOAD_PERM_FILE = baseUrl + '/tjfmw/base/file/{biz}/{type}';
    this.URL_DELETE_FILE = baseUrl + '/tjfmw/base/file/{filename}';
    
    // 52A-节假日API
    this.URL_GET_HOLIDAY_INFO = baseUrl + '/tjfmw/base/holidayinfo/{dateStr}';

    // 52B-许可证API
    this.URL_GET_LICENSE_MSG = baseUrl + '/tjfmw/base/license/msg';
    
    // 60A-通用字典类型API
    this.URL_LIST_COMMON_CFG_GENERIC_TYPES = baseUrl + '/tjfmw/dict/generictype/list/filter',
    this.URL_GET_COMMON_CFG_GENERIC_TYPE_DO_4_ADD = baseUrl + '/tjfmw/dict/generictypedo',
    this.URL_GET_COMMON_CFG_GENERIC_TYPE_DO_4_UPDATE = baseUrl + '/tjfmw/dict/generictypedo/{id}',
    this.URL_SAVE_COMMON_CFG_GENERIC_TYPE = baseUrl + '/tjfmw/dict/generictype',
    this.URL_UPDATE_COMMON_CFG_GENERIC_TYPE = baseUrl + '/tjfmw/dict/generictype',
    this.URL_DELETE_COMMON_CFG_GENERIC_TYPE = baseUrl + '/tjfmw/dict/generictype/{id}',

    // 60B-通用字典API
    this.URL_LIST_COMMON_CFG_GENERICS = baseUrl + '/tjfmw/dict/generic/list',
    this.URL_GET_COMMON_CFG_GENERIC_DO_4_ADD = baseUrl + '/tjfmw/dict/genericdo',
    this.URL_GET_COMMON_CFG_GENERIC_DO_4_UPDATE = baseUrl + '/tjfmw/dict/genericdo/{id}',
    this.URL_SAVE_COMMON_CFG_GENERIC = baseUrl + '/tjfmw/dict/generic',
    this.URL_UPDATE_COMMON_CFG_GENERIC = baseUrl + '/tjfmw/dict/generic',
    this.URL_DELETE_COMMON_CFG_GENERIC = baseUrl + '/tjfmw/dict/generic/{id}',

    // 61A-行政区划API
    this.URL_PAGE_COMMON_CFG_REGIONS = baseUrl + '/tjfmw/dict/region/page/filter',
    this.URL_LIST_COMMON_PROVINCE = baseUrl + '/tjfmw/dict/region/province/list';
	this.URL_LIST_COMMON_CITY = baseUrl + '/tjfmw/dict/region/city/{provinceId}/list';
	this.URL_LIST_COMMON_COUNTY = baseUrl + '/tjfmw/dict/region/county/{cityId}/list';

    // 61B-行政区划(乡镇街)API
    this.URL_PAGE_COMMON_CFG_TOWNSHIPS = baseUrl + '/tjfmw/dict/township/page/filter',

    // 62A-民族数据API
    this.URL_LIST_COMMON_CFG_NATIONS = baseUrl + '/tjfmw/dict/nation/list',

    // 62B-国家数据API
    this.URL_PAGE_COMMON_CFG_COUNTRYS = baseUrl + '/tjfmw/dict/country/page/filter',
    this.URL_GET_COMMON_CFG_COUNTRY_FILTER_DO = baseUrl + '/tjfmw/dict/countryfilterdo',

    // 65A-系统机构管理API
    this.URL_PAGE_SYS_INSTS = baseUrl + "/tjfmw/maintain/sysinst/page/filter";
    this.URL_LIST_TOP30_SYS_INSTS = baseUrl + "/tjfmw/maintain/sysinst/list/top30/filter";
    this.URL_GET_SYS_INST_FILTER_DO = baseUrl + "/tjfmw/maintain/sysinstfilterdo";
    this.URL_GET_SYS_INST_DO_4ADD = baseUrl + "/tjfmw/maintain/sysinstdo/add";
    this.URL_GET_SYS_INST_DO_4UPDATE = baseUrl + "/tjfmw/maintain/sysinstdo/update";
    this.URL_GET_SYS_INST_DETAILS = baseUrl + "/tjfmw/maintain/sysinst/details";
    this.URL_SAVE_SYS_INST = baseUrl + "/tjfmw/maintain/sysinst";
    this.URL_UPDATE_SYS_INST = baseUrl + "/tjfmw/maintain/sysinst";
    this.URL_UPDATE_SYS_INST_STATUS = baseUrl + "/tjfmw/maintain/sysinst/status";
    this.URL_DELETE_SYS_INST = baseUrl + "/tjfmw/maintain/sysinst";

    // 66A-基于SysRole的PC页面框架API
    this.URL_SYS_USER_LOGIN = baseUrl +  "/common/sysuser/login",
    this.URL_SYS_USER_LOGOUT = baseUrl + "/common/sysuser/logout",
  
    this.URL_IS_SYS_USER_LOGGEDIN = baseUrl + '/tjfmw/maintain/principal/islogin',
    this.URL_LIST_SYS_FUNC_PVGS = baseUrl + '/tjfmw/maintain/sysfunc/pvg/list',
    this.URL_LIST_SYS_DATA_PVGS = baseUrl + '/tjfmw/maintain/sysdatapvg/list',
    this.URL_GET_CURRENT_SYS_USER = baseUrl + "/tjfmw/maintain/sysuser/current",
    this.URL_UPDATE_SYS_USER_PASSWORD = baseUrl + "/tjfmw/maintain/sysuser/current/password",
    
    // 66B-系统角色管理API
    this.URL_PAGE_SYS_ROLES = baseUrl + "/tjfmw/maintain/sysrole/page/filter";
    this.URL_LIST_SIMPLE_SYS_ROLES = baseUrl + "/tjfmw/maintain/simplesysrole/list";
    this.URL_LIST_SYS_ROLES_AVAILABLE_2USER = baseUrl + "/tjfmw/maintain/simplesysrole/list/useravailable";
    this.URL_GET_SYS_ROLE_FILTER_DO = baseUrl + "/tjfmw/maintain/sysrolefilterdo";
    this.URL_GET_SYS_ROLE_DO_4ADD = baseUrl + "/tjfmw/maintain/sysroledo/add";
    this.URL_GET_SYS_ROLE_DO_4UPDATE = baseUrl + "/tjfmw/maintain/sysroledo/update";
    this.URL_SAVE_SYS_ROLE = baseUrl + "/tjfmw/maintain/sysrole";
    this.URL_UPDATE_SYS_ROLE = baseUrl + "/tjfmw/maintain/sysrole";
    this.URL_DELETE_SYS_ROLE = baseUrl + "/tjfmw/maintain/sysrole";
    
    // 67A-系统用户管理API
    this.URL_PAGE_SYS_USERS = baseUrl + "/tjfmw/maintain/sysuser/page/filter";
    this.URL_GET_SYS_USER_FILTER_DO = baseUrl + "/tjfmw/maintain/sysuserfilterdo";
    this.URL_GET_SYS_USER_DO_4ADD = baseUrl + "/tjfmw/maintain/sysuserdo/add";
    this.URL_GET_SYS_USER_DO_4UPDATE = baseUrl + "/tjfmw/maintain/sysuserdo/update";
    this.URL_GET_SYS_USER = baseUrl + "/tjfmw/maintain/sysuser";
    this.URL_SAVE_SYS_USER = baseUrl + "/tjfmw/maintain/sysuser";
    this.URL_UPDATE_SYS_USER = baseUrl + "/tjfmw/maintain/sysuser";
    this.URL_UPDATE_SYS_USER_STATUS = baseUrl + "/tjfmw/maintain/sysuser/status";
    this.URL_DELETE_SYS_USER = baseUrl + "/tjfmw/maintain/sysuser";

    // 68A-租户管理API
    this.URL_PAGE_RENTERS = baseUrl + "/tjfmw/maintain/renter/page/filter";
    this.URL_GET_RENTER_FILTER_DO = baseUrl + "/tjfmw/maintain/renterfilterdo";
    this.URL_GET_RENTER_DO_4UPDATE = baseUrl + "/tjfmw/maintain/renterdo/update";
    this.URL_UPDATE_RENTER = baseUrl + "/tjfmw/maintain/renter";
    
    // 68B-租户资金API
    this.URL_PAGE_RENTER_FUNDS = baseUrl + '/tjfmw/maintain/renterfund/page/filter';
    this.URL_GET_RENTER_FUND_FILTER_DO = baseUrl + "/tjfmw/maintain/renterfundfilterdo";
    this.URL_LIST_SIMPLE_SYS_INST = baseUrl + '/tjfmw/maintain/sysinst/list/filter';
    this.URL_SAVE_RENTER_FUND = baseUrl + '/tjfmw/maintain/renterfund/{txName}';

    // 69A-租费配置API
    this.URL_LIST_RENT_CFGS = baseUrl + '/tjfmw/maintain/rentcfg/list';
    this.URL_GET_RENT_CFG = baseUrl + '/tjfmw/maintain/rentcfg';
    this.URL_SAVE_RENT_CFG = baseUrl + '/tjfmw/maintain/rentcfg';
    this.URL_UPDATE_RENT_CFG = baseUrl + '/tjfmw/maintain/rentcfg';
    this.URL_DELETE_RENT_CFG = baseUrl + '/tjfmw/maintain/rentcfg';

    // 69B-租费配置历史API
    this.URL_PAGE_RENT_CFG_HISTORIES = baseUrl + '/tjfmw/maintain/rentcfghistory/page';
    this.URL_GET_RENT_CFG_HISTORY_FILTER_DO = baseUrl + '/tjfmw/maintain/rentcfghistoryfilterdo';

    // 73A-PC页面框架API
    this.URL_IS_LOGGEDIN = baseUrl + '/tjfmw/sysmng/principal/islogin';
    this.URL_LIST_FUNCTIONS = baseUrl + '/tjfmw/sysmng/function/list';
    this.URL_LIST_THREE_LEVEL_MENUS = baseUrl + '/tjfmw/sysmng/function/threelevel/list';
    this.URL_GET_DATA_PVG_4_CURROLE = baseUrl + '/tjfmw/sysmng/roledatapvg/currentrole';
    this.URL_VALIDATE_TJYD_LICENSE = baseUrl + '/tjfmw/sysmng/tjydlicense/validate',

    // 73B-角色管理API
    this.URL_LIST_ROLES = baseUrl + '/tjfmw/sysmng/role/list';
    this.URL_GET_ROLE_FILTER_DO = baseUrl + '/tjfmw/sysmng/rolefilterdo';
    this.URL_GET_ROLEDO_4_ADD = baseUrl + '/tjfmw/sysmng/roledo/add';
    this.URL_GET_ROLEDO_4_UPDATE = baseUrl + '/tjfmw/sysmng/roledo/update';
    this.URL_SAVE_ROLE = baseUrl + '/tjfmw/sysmng/role';
    this.URL_UPDATE_ROLE = baseUrl + '/tjfmw/sysmng/role';
    this.URL_DELETE_ROLE = baseUrl + '/tjfmw/sysmng/role/{id}';

    // 74A-缓存管理API（全服务器及应用）
    this.URL_LIST_APPLICATIONS_CACHEMNG = baseUrl + '/tjfmw/sysmng/application/list/type/app';
    this.URL_PAGE_REFRESH_SMS_CACHES = baseUrl + '/tjfmw/sysmng/refreshsmscache/{applicationId}/page/filter';
    this.URL_PAGE_ACCOUNT_CACHES = baseUrl + '/tjfmw/sysmng/accountcache/{applicationId}/page/filter';
    this.URL_CLEAR_REFRESH_SMS_CACHE_ENTRY = baseUrl + '/tjfmw/sysmng/refreshsmscache/{applicationId}/{mobile}';
    this.URL_CLEAR_ACCOUNT_CACHE_ENTRY = baseUrl + '/tjfmw/sysmng/accountcache/{applicationId}/{username}';

    // 75A-异常调度API
    this.URL_PAGE_ABNORMAL_SCHEDULES = baseUrl + "/tjfmw/sysmng/abnormalschedule/page/filter";
    this.URL_GET_ABNORMAL_SCHEDULE_FILTER_DO = baseUrl + "/tjfmw/sysmng/abnormalschdfilterdo";
    this.URL_REEXECUTE_ABNORMAL_SCHEDULE = baseUrl + "/tjfmw/sysmng/abnormalschedule/reexecute";

    // 80A-系统指标API（全服务器及应用）
    this.URL_LIST_SERVERS = baseUrl + '/tjfmw/sysmtr/server/list';
    this.URL_LIST_APPLICATIONS = baseUrl + '/tjfmw/sysmtr/application/list/type/app';
    this.URL_LIST_LOG_TYPES = baseUrl + '/tjfmw/sysmtr/logtype/list';
    this.URL_GET_LOWER_SYSTEM_INFO = baseUrl + '/tjfmw/sysmtr/lowersysteminfo/{serverId}/{applicationId}';
    this.URL_GET_DATABASE_INFO = baseUrl + '/tjfmw/sysmtr/dbinfo/{serverId}/{applicationId}';
    this.URL_LIST_SQL_TABLES_INFO = baseUrl + '/tjfmw/sysmtr/sqldbinfo/{serverId}/{applicationId}/table/list';

    // 81A-访问数据API（全服务器及应用）
    this.URL_PAGE_ACCESS_DATA = baseUrl + '/tjfmw/sysmtr/accessdata/page/filter';
    this.URL_GET_ACCESS_STATISTICS = baseUrl + '/tjfmw/sysmtr/accessdata/{applicationId}/{dateStr}';

    // 82A-Mongo文件管理API
    this.URL_PAGE_MONGO_FILES = baseUrl + '/tjfmw/sysmtr/mongofile/page/filter';
    this.URL_GET_MONGO_FILE_FILTER_DO = baseUrl + '/tjfmw/sysmtr/mongofile/filterdo';
    this.URL_GET_MONGO_FILE_DETAIL = baseUrl + '/tjfmw/sysmtr/mongofile/{filename}/details';
    this.URL_DOWNLOAD_MONGO_FILE = baseUrl + '/tjfmw/sysmtr/mongofile/{filename}';
    this.URL_REPLACE_MONGOFILE = baseUrl + '/tjfmw/sysmtr/mongofile/{filename}';
    this.URL_DELETE_MONGO_FILE = baseUrl + '/tjfmw/sysmtr/mongofile/{filename}';

    // 83A-系统日志API（全服务器及应用）
    this.URL_PAGE_LOG_FILES = baseUrl + '/tjfmw/sysmtr/logfile/{applicationId}/page/filter';
    this.URL_PAGE_MOBILELOG_FILES = baseUrl + '/tjfmw/sysmtr/mobilelogfile/{applicationId}/page/filter';
    this.URL_READ_LOG_FILE_CONTENT = baseUrl + '/tjfmw/sysmtr/logfile/{applicationId}/{filename}/onlyErr/{onlyErr}';
    
    // 83B-业务日志API（全服务器及应用）
    this.URL_GET_REALTIME_BIZLOG_DTO = baseUrl + '/tjfmw/sysmtr/bizdatadto/{applicationId}';
    this.URL_PAGE_BIZ_DATAS = baseUrl + '/tjfmw/sysmtr/bizdata/{applicationId}/page/filter';
    this.URL_PAGE_BIZ_LOGS = baseUrl + '/tjfmw/sysmtr/bizlog/{applicationId}/page/filter';

    // 90A-短信服务API
    this.URL_COMMON_SM_VCODE = baseUrl + '/tjfmw/cloud/sms/smvcode/{mobile}/{type}';

    // 90B-实名认证API
    this.URL_FACE_RECOGNIZE = baseUrl + '/tjfmw/cloud/realname/face';
    this.URL_VERIFY_IDCARD = baseUrl + '/tjfmw/cloud/realname/idcard';
    this.URL_VERIFY_IDCARD_AND_MOBILE = baseUrl + '/tjfmw/cloud/realname/idcard/mobile';

    // 91A-微信小程序API
    this.URL_MINI_PRELOGIN = baseUrl + '/tjfmw/wechat/miniprg/user/prelogin/{code}';
    this.URL_FACE_VERIFY_RESULT = baseUrl + '/tjfmw/wechat/miniprg/face/verify';

    // 91C-微信商户支付API
    this.URL_MINI_PREORDER = baseUrl + '/tjfmw/wechat/pay/preorder/mini';
    this.URL_GET_ORDER_TRASE_STATUS = baseUrl + '/tjfmw/wechat/pay/order/tradestatus/{orderNo}';

    // 100A-图表模板管理API
    this.URL_LIST_CHART_TEMPLATES = baseUrl + "/tjfmw/acp/custchart/charttemplate/list/filter";
    this.URL_GET_CHART_TEMPLATE_DO4_ADD = baseUrl + "/tjfmw/acp/custchart/charttemplatedo";
    this.URL_GET_CHART_TEMPLATE_DO4_UPDATE = baseUrl + "/tjfmw/acp/custchart/charttemplatedo/{templateKey}";
    this.URL_GET_CHART_TEMPLATE = baseUrl + "/tjfmw/acp/custchart/charttemplate/{templateKey}";
    this.URL_CREATE_NEW_CHART_TEMPLATE_KEY = baseUrl + "/tjfmw/acp/custchart/charttemplatekey/{newTplKey}";
    this.URL_RENAME_CHART_TEMPLATE_KEY = baseUrl + "/tjfmw/acp/custchart/charttemplatekey/{oldTplKey}/{newTplKey}";
    this.URL_SAVE_CHART_TEMPLATE = baseUrl + "/tjfmw/acp/custchart/charttemplate";
    this.URL_UPDATE_CHART_TEMPLATE = baseUrl + "/tjfmw/acp/custchart/charttemplate";
    this.URL_DELETE_CHART_TEMPLATE = baseUrl + "/tjfmw/acp/custchart/charttemplate/{templateKey}";
    
    // 100B-图表展现器API
    this.URL_GET_CHART_RENDER_DTO = baseUrl + "/tjfmw/acp/custchart/chart/{templateKey}";

    // 100C-图表子组件配置管理API
    this.URL_LIST_COMPONENT_CONFIG_FILENAMES = baseUrl + "/tjfmw/acp/custchart/componentcfg/filename/list";
    this.URL_GET_COMPONENT_CONFIG_DO_4_ADD = baseUrl + "/tjfmw/acp/custchart/componentcfgdo/{compKey}";
    this.URL_GET_COMPONENT_CONFIG_DO_4_UPDATE = baseUrl + "/tjfmw/acp/custchart/componentcfgdo/{compKey}/{filename}";
    this.URL_GET_COMPONENT_CONFIG = baseUrl + "/tjfmw/acp/custchart/componentcfg/{filename}";
    this.URL_SAVE_COMPONENT_CONFIG = baseUrl + "/tjfmw/acp/custchart/componentcfg/{filename}";
    this.URL_UPDATE_COMPONENT_CONFIG = baseUrl + "/tjfmw/acp/custchart/componentcfg/{filename}";
    this.URL_DELETE_COMPONENT_CONFIG = baseUrl + "/tjfmw/acp/custchart/componentcfg/{filename}";

    // 101A-过滤器模板管理API
    this.URL_PAGE_FILTER_TEMPLATES = baseUrl + "/tjfmw/acp/custfilter/filtertemplate/page/filter";
    this.URL_LIST_FILTER_TEMPLATES = baseUrl + "/tjfmw/acp/custfilter/filtertemplate/list/filter";
    this.URL_LIST_FILTER_TEMPLATE_KEYS = baseUrl + "/tjfmw/acp/custfilter/filtertemplate/key/list";
    this.URL_GET_FILTER_TEMPLATE_DO_4_ADD = baseUrl + "/tjfmw/acp/custfilter/filtertemplatedo";
    this.URL_GET_FILTER_TEMPLATE_DO_4_UPDATE = baseUrl + "/tjfmw/acp/custfilter/filtertemplatedo/{templateKey}";
    this.URL_GET_FILTER_TEMPLATE = baseUrl + "/tjfmw/acp/custfilter/filtertemplate/{templatekey}";
    this.URL_SAVE_FILTER_TEMPLATE = baseUrl + "/tjfmw/acp/custfilter/filtertemplate";
    this.URL_COPY_FILTER_TEMPLATE= baseUrl + "/tjfmw/acp/custfilter/filtertemplate/copy/{srcTplKey}/{targetTplKey}";
    this.URL_UPDATE_FILTER_TEMPLATE = baseUrl + "/tjfmw/acp/custfilter/filtertemplate";
    this.URL_DELETE_FILTER_TEMPLATE = baseUrl + "/tjfmw/acp/custfilter/filtertemplate/{templatekey}";
    
    // 101B-过滤器展现器API
    this.URL_GET_FILTER_RENDER_DTO = baseUrl + "/tjfmw/acp/custfilter/filter/{templateKey}";
    this.URL_RETRIEVE_TARGET_FILTER_VALUE = baseUrl + "/tjfmw/acp/custfilter/filterval/{templateKey}/{srcName}/{triggerId}/{tarName}";

    // 102A-报表模板管理API
    this.URL_LIST_REPORT_TEMPLATES = baseUrl + "/tjfmw/acp/custrpt/reporttemplate/list";
    this.URL_GET_REPORT_TEMPLATE = baseUrl + "/tjfmw/acp/reporttemplate/{templatekey}";
    this.URL_SAVE_REPORT_TEMPLATE = baseUrl + "/tjfmw/acp/reporttemplate";
    this.URL_UPDATE_REPORT_TEMPLATE = baseUrl + "/tjfmw/acp/reporttemplate";
    this.URL_DELETE_REPORT_TEMPLATE = baseUrl + "/tjfmw/acp/reporttemplate/{templateKey}";

    // 102B-报表展现器API
    this.URL_GET_REPORT_RENDER_DTO = baseUrl + "/tjfmw/acp/custrpt/report/{templateKey}";
    
    // 110A-(画像)用户标签管理API
    this.URL_PAGE_AUP_USERS = baseUrl + "/tjfmw/aup/v20/aupuser/page/filter";
    this.URL_GET_AUP_USER_FILTER_DO = baseUrl + "/tjfmw/aup/v20/aupuserfilterdo";
    this.URL_GET_AUP_USER_WITH_TAG_LIST = baseUrl + "/tjfmw/aup/v20/aupuser/{id}/withtags";
    this.URL_LIST_ALL_MANUAL_TAGS = baseUrl + "/tjfmw/aup/v20/manualtag/list";
    this.URL_MARK_MANUAL_TAG = baseUrl + "/tjfmw/aup/v20/aupusertag";
    this.URL_DELETE_AUP_USER_TAG = baseUrl + "/tjfmw/aup/v20/aupusertag/{id}";
    this.URL_DELETE_AUP_USER_TAG_BY_NAME = baseUrl + "/tjfmw/aup/v20/aupusertag";
    
    // 110B-画像数据展现API
    this.URL_LIST_RENDER_TAG_DTOS_BY_UID = baseUrl + "/tjfmw/aup/v20/rendertag/{aupUserId}/list";
    this.URL_LIST_RENDER_TAG_DTOS_BY_NAME = baseUrl + "/tjfmw/aup/v20/rendertag/list";
    this.URL_GET_RENDER_TAG_DTO_BY_UID = baseUrl + "/tjfmw/aup/v20/rendertag/{aupUserId}/subject/{subjectKey}";
    this.URL_GET_RENDER_TAG_DTO_BY_NAME = baseUrl + "/tjfmw/aup/v20/rendertag/subject/{subjectKey}";
    this.URL_DOWNLOAD_AUP_IMAGE = baseUrl + "/tjfmw/aup/v20/image/{tagSetKey}/{filename}";
    
    // 111A-画像主题管理API
    this.URL_LIST_AUP_SUBJECTS = baseUrl + "/tjfmw/aup/aupsubject/list";
    this.URL_GET_AUP_SUBJECT_DO4_ADD = baseUrl + "/tjfmw/aup/aupsubjectdo";
    this.URL_GET_AUP_SUBJECT_DO4_UPDATE = baseUrl + "/tjfmw/aup/aupsubjectdo/{subjectKey}";
    this.URL_SAVE_AUP_SUBJECT = baseUrl + "/tjfmw/aup/aupsubject";
    this.URL_COPY_AUP_SUBJECT = baseUrl + "/tjfmw/aup/aupsubject/copy/{srcKey}/{targetKey}";
    this.URL_UPDATE_AUP_SUBJECT = baseUrl + "/tjfmw/aup/aupsubject";
    this.URL_DELETE_AUP_SUBJECT = baseUrl + "/tjfmw/aup/aupsubject/{subjectKey}";
    
    // 111B-采集标签管理API
    this.URL_LIST_GATHER_TAG_SETS = baseUrl + "/tjfmw/aup/gathertagset/list";
    this.URL_GET_GATHER_TAG_SET_DO4_ADD = baseUrl + "/tjfmw/aup/gathertagsetdo";
    this.URL_GET_GATHER_TAG_SET_DO4_UPDATE = baseUrl + "/tjfmw/aup/gathertagsetdo/{setKey}";
    this.URL_SAVE_GATHER_TAG_SET = baseUrl + "/tjfmw/aup/gathertagset";
    this.URL_COPY_GATHER_TAG_SET = baseUrl + "/tjfmw/aup/gathertagset/copy/{srcSetKey}/{targetSetKey}";
    this.URL_UPDATE_GATHER_TAG_SET = baseUrl + "/tjfmw/aup/gathertagset";
    this.URL_DELETE_GATHER_TAG_SET = baseUrl + "/tjfmw/aup/gathertagset/{setKey}";
    
    // 111C-计算型标签管理API
    this.URL_LIST_COMPUTATION_TAG_SETS = baseUrl + "/tjfmw/aup/comptagset/list";
    this.URL_GET_COMPUTATION_TAG_SET_DO4_ADD = baseUrl + "/tjfmw/aup/comptagsetdo";
    this.URL_GET_COMPUTATION_TAG_SET_DO4_UPDATE = baseUrl + "/tjfmw/aup/comptagsetdo/{setKey}";
    this.URL_TREE_ALL_GATHER_TAGS = baseUrl + "/tjfmw/aup/gathetag/tree";
    this.URL_GET_COMPUTATION_TAG_SET = baseUrl + "/tjfmw/aup/comptagset/{setKey}";
    this.URL_SAVE_COMPUTATION_TAG_SET = baseUrl + "/tjfmw/aup/comptagset";
    this.URL_COPY_COMPUTATION_TAG_SET = baseUrl + "/tjfmw/aup/comptagset/copy/{srcSetKey}/{targetSetKey}";
    this.URL_UPDATE_COMPUTATION_TAG_SET = baseUrl + "/tjfmw/aup/comptagset";
    this.URL_DELETE_COMPUTATION_TAG_SET = baseUrl + "/tjfmw/aup/comptagset/{setKey}";
   
    // 111D-评估型分析标签管理API
    this.URL_LIST_EVALUATION_TAG_SETS = baseUrl + "/tjfmw/aup/evaltagset/list";
    this.URL_GET_EVALUATION_TAG_SET_DO4_ADD = baseUrl + "/tjfmw/aup/evaltagsetdo";
    this.URL_GET_EVALUATION_TAG_SET_DO4_UPDATE = baseUrl + "/tjfmw/aup/evaltagsetdo/{setKey}";
    this.URL_SAVE_EVALUATION_TAG_SET = baseUrl + "/tjfmw/aup/evaltagset";
    this.URL_COPY_EVALUATION_TAG_SET = baseUrl + "/tjfmw/aup/evaltagset/copy/{srcSetKey}/{targetSetKey}";
    this.URL_UPDATE_EVALUATION_TAG_SET = baseUrl + "/tjfmw/aup/evaltagset";
    this.URL_DELETE_EVALUATION_TAG_SET = baseUrl + "/tjfmw/aup/evaltagset/{setKey}";
    
    // 111E-人工标签管理API
    this.URL_LIST_MANUAL_TAG_SETS = baseUrl + "/tjfmw/aup/manualtagset/list";
    this.URL_GET_MANUAL_TAG_SET_DO4_ADD = baseUrl + "/tjfmw/aup/manualtagsetdo";
    this.URL_SAVE_MANUAL_TAG_SET = baseUrl + "/tjfmw/aup/manualtagset";
    this.URL_COPY_MANUAL_TAG_SET = baseUrl + "/tjfmw/aup/manualtagset/copy/{srcSetKey}/{targetSetKey}";
    this.URL_UPDATE_MANUAL_TAG_SET = baseUrl + "/tjfmw/aup/manualtagset";
    this.URL_DELETE_MANUAL_TAG_SET = baseUrl + "/tjfmw/aup/manualtagset/{setKey}";
  
    // 111F-展现标签管理API
    this.URL_LIST_RENDER_TAG_SETS = baseUrl + "/tjfmw/aup/rendertagset/list";
    this.URL_GET_RENDER_TAG_SET = baseUrl + "/tjfmw/aup/rendertagset";
    this.URL_GET_RENDER_TAG_SET_DO4_ADD = baseUrl + "/tjfmw/aup/rendertagsetdo";
    this.URL_GET_RENDER_TAG_SET_DO4_UPDATE = baseUrl + "/tjfmw/aup/rendertagsetdo/{setKey}";
    this.URL_SAVE_RENDER_TAG_SET = baseUrl + "/tjfmw/aup/rendertagset";
    this.URL_COPY_RENDER_TAG_SET = baseUrl + "/tjfmw/aup/rendertagset/copy/{srcSetKey}/{targetSetKey}";
    this.URL_UPDATE_RENDER_TAG_SET = baseUrl + "/tjfmw/aup/rendertagset";
    this.URL_DELETE_RENDER_TAG_SET = baseUrl + "/tjfmw/aup/rendertagset/{setKey}";

    this.URL_ADD_RENDER_TAG = baseUrl + "/tjfmw/aup/rendertag";
    this.URL_UPDATE_RENDER_TAG = baseUrl + "/tjfmw/aup/rendertag";
    this.URL_REMOVE_RENDER_TAG = baseUrl + "/tjfmw/aup/rendertag";
}

export default CommonConst
export { CommonUrl }
