diff --git a/src/js/request.js b/src/js/request.js index 52b6af2..9cf2249 100644 --- a/src/js/request.js +++ b/src/js/request.js @@ -530,7 +530,7 @@ const projectGetCustom = (data) =>{ } - /** +/** * 展示全部消息 * */ @@ -547,6 +547,24 @@ const messageGet = (token) => { } /** + * 得到tag列表 + * @param token + */ +const getTagsProjectList += (token) =>{ + return axios({ + url:api+ "/tags/project/list", + method: "get", + headers:{ + 'Authorization':'Bearer '+token, + 'Timestamp': getCurrentTimestamp() + } + }) +} + +/** + * 得到tag列表 + * @param token * 获取项目的所有子系统 */ const projectWorkGet = (data,token) => { @@ -599,6 +617,8 @@ export default { projectGet, projectGetCustom, + + getTagsProjectList, projectWorkGet,