diff --git a/data/jx3box.json b/data/jx3box.json index 64aebb0..92f3d42 100644 --- a/data/jx3box.json +++ b/data/jx3box.json @@ -96,7 +96,7 @@ "app_types": ["pz", "calendar", "battle"], "exam_types": ["question", "paper"], "db_types": ["skill", "buff", "npc", "doodad"], - "dbm_types": ["vpk"], + "dbm_types": ["pkg","item","vpk"], "team_types": ["org", "role", "raid", "apply"], "vip_types": ["mall"] }, diff --git a/js/utils.js b/js/utils.js index dc09b86..4441905 100644 --- a/js/utils.js +++ b/js/utils.js @@ -144,6 +144,10 @@ module.exports = { } else if (__sourceType.app_types.includes(type)) { return "/" + `${type}/view/${id}`; + // DBM + } else if (__sourceType.dbm_types.includes(type)) { + return "/dbm/" + `${type}/${id}`; + // 数据库 } else if (__sourceType.db_types.includes(type)) { let link = "/" + `app/database/?type=${type}&query=${id}`; diff --git a/package.json b/package.json index 3640818..3e3d1ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jx3box/jx3box-common", - "version": "8.0.1", + "version": "8.0.2", "description": "JX3BOX公共基础模块", "main": "main.js", "repository": {