Skip to content

Commit

Permalink
秘境
Browse files Browse the repository at this point in the history
  • Loading branch information
tignioj committed Oct 31, 2024
1 parent 02871cc commit 1fed630
Show file tree
Hide file tree
Showing 5 changed files with 539 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const keepAlive = ['ScriptManagerPage']
<RouterLink :class="{'active-link': route.fullPath.includes('/task/collect/edit')}" to="/task/collect/edit">创建采集任务</RouterLink> |
<RouterLink :class="{'active-link': route.fullPath.includes('/task/fight/edit')}" to="/task/fight/edit">创建战斗任务</RouterLink> |
<!-- <RouterLink :class="{'active-link': route.fullPath.includes('/task/gouliang/edit')}" to="/task/gouliang/edit">创建狗粮任务</RouterLink> |-->
<RouterLink :class="{'active-link': route.fullPath === '/domain'}" to="/domain">秘境</RouterLink> |
<RouterLink :class="{'active-link': route.fullPath === '/daily'}" to="/daily">每日委托</RouterLink> |
<RouterLink :class="{'active-link': route.fullPath === '/leyline'}" to="/leyline">地脉</RouterLink> |
<RouterLink :class="{'active-link': route.fullPath === '/team'}" to="/team">战斗队伍管理</RouterLink> |
Expand Down
18 changes: 17 additions & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ const oneDragonGetURL= `${serverURL}/one_dragon/get`; // 获取配置
const oneDragonSaveURL= `${serverURL}/one_dragon/save`; // 保存一条龙配置
const oneDragonRunAllInstanceURL= `${serverURL}/one_dragon/run_all_instance`; // 执行所有的实例的一条龙


// 秘境
const domainListURL = `${serverURL}/domain/list` // GET请求获取所有秘境列表
const domainRunURL= `${serverURL}/domain/run` // GET请求, URL参数domain_name=xx&fight_team=xx&timeout=xx
const domainStopURL= `${serverURL}/domain/stop` // GET 请求停止执行秘境
const domainConfigGet = `${serverURL}/domain/config` // GET
const domainConfigSet = `${serverURL}/domain/config` // PUT 修改配置

export {
serverURL,
positionURL,
Expand Down Expand Up @@ -141,5 +149,13 @@ export {
oneDragonStopURL,
oneDragonGetURL,
oneDragonSaveURL,
oneDragonRunAllInstanceURL
oneDragonRunAllInstanceURL,

// 秘境
domainListURL,
domainRunURL,
domainStopURL,
domainConfigGet,
domainConfigSet

};
Loading

0 comments on commit 1fed630

Please sign in to comment.