This commit is contained in:
Putoo
2026-07-14 18:59:40 +08:00
parent 171388d7e8
commit 73850ff7a2
4 changed files with 15 additions and 12 deletions

View File

@@ -556,6 +556,8 @@ public class FightController : ControllerBase
var myAttr = await _attrService.GetUserAttrModel(userId, fight.scene); var myAttr = await _attrService.GetUserAttrModel(userId, fight.scene);
var parsData = JsonConvert.DeserializeObject<dynamic>(fight.pars); var parsData = JsonConvert.DeserializeObject<dynamic>(fight.pars);
object figResult = new object(); object figResult = new object();
if (fight.code == nameof(GameEnum.FightCode.PVE))
{
if (Convert.ToString(parsData.type) == "Create") if (Convert.ToString(parsData.type) == "Create")
{ {
if (Convert.ToString(parsData.code) == nameof(MonsterEnum.MonsterCode.Task)) if (Convert.ToString(parsData.code) == nameof(MonsterEnum.MonsterCode.Task))
@@ -569,6 +571,7 @@ public class FightController : ControllerBase
} }
} }
} }
}
return PoAction.Ok(new return PoAction.Ok(new
{ isWin, otName, blood = myAttr.blood, upBlood = myAttr.upBlood, fight, isCopy, figArea, figResult }); { isWin, otName, blood = myAttr.blood, upBlood = myAttr.upBlood, fight, isCopy, figArea, figResult });

View File

@@ -7,17 +7,17 @@
{ {
"type": 0, "type": 0,
"name": "Kg.SeaTime.Game", "name": "Kg.SeaTime.Game",
"connect": "data source=192.168.0.88;database=kg.seatime.game;user id=root;password=1f5ozxRGE3Y;pooling=true;port=3306;sslmode=Required;charset=utf8mb4;" "connect": "data source=81.70.212.61;database=kg.seatime.game;user id=root;password=1f5ozxRGE3Y;pooling=true;port=3306;sslmode=Required;charset=utf8mb4;"
}, },
{ {
"type": 0, "type": 0,
"name": "Kg.SeaTime.Resource", "name": "Kg.SeaTime.Resource",
"connect": "data source=192.168.0.88;database=kg.seatime.resource;user id=root;password=1f5ozxRGE3Y;pooling=true;port=3306;sslmode=Required;charset=utf8mb4;" "connect": "data source=81.70.212.61;database=kg.seatime.resource;user id=root;password=1f5ozxRGE3Y;pooling=true;port=3306;sslmode=Required;charset=utf8mb4;"
}, },
{ {
"type": 0, "type": 0,
"name": "Kg.SeaTime.Log", "name": "Kg.SeaTime.Log",
"connect": "data source=192.168.0.88;database=kg.seatime.log;user id=root;password=1f5ozxRGE3Y;pooling=true;port=3306;sslmode=Required;charset=utf8mb4;" "connect": "data source=81.70.212.61;database=kg.seatime.log;user id=root;password=1f5ozxRGE3Y;pooling=true;port=3306;sslmode=Required;charset=utf8mb4;"
} }
], ],
"JwtTokenOptions": { "JwtTokenOptions": {

View File

@@ -93,7 +93,7 @@
士气:{{ equData.morale }}<br> 士气:{{ equData.morale }}<br>
</span> </span>
</div> </div>
耐久:{{ equData.maxdurability }}/{{ equData.durability }}<br> 耐久:{{ equData.durability }}/{{ equData.maxdurability }}<br>
<span v-if="equData.suitCode != '0' && equData.suitCode != ''"> <span v-if="equData.suitCode != '0' && equData.suitCode != ''">
套装:<Abar :href='"/prop/suit?no=" + equData.suitCode'>{{ suitInfo.suitName }}</Abar><br> 套装:<Abar :href='"/prop/suit?no=" + equData.suitCode'>{{ suitInfo.suitName }}</Abar><br>
</span> </span>

View File

@@ -37,7 +37,7 @@
<div v-if="item.state == 0"> <div v-if="item.state == 0">
<span v-for="(btn, btn_num) in item.btns" :key="btn_num"> <span v-for="(btn, btn_num) in item.btns" :key="btn_num">
<Abutton @click="EventHandle(item.eventId, btn.status)" style="font-size: 16px;">{{ btn.name }} <Abutton @click="EventHandle(item.eventId, btn.status)" style="font-size: 16px;">{{ btn.name }}
</Abutton> </Abutton>&nbsp;&nbsp;
</span> </span>
</div> </div>
<div v-else> <div v-else>