This commit is contained in:
Putoo
2026-06-17 19:31:21 +08:00
parent 3b0f1e37ee
commit 4297019836
2 changed files with 11 additions and 7 deletions

View File

@@ -689,6 +689,12 @@ public class EquController : ControllerBase
var nexts = nextNeeds.euId == needs.euId ? reqNeeds : nextNeeds.needData; var nexts = nextNeeds.euId == needs.euId ? reqNeeds : nextNeeds.needData;
nexResult = await GameBus.CheckNeeds(userId, nexts); nexResult = await GameBus.CheckNeeds(userId, nexts);
} }
if (equInfo.intensifyLev >= 60)
{
string msg = $"[{equInfo.equName}]装备强化至{equInfo.intensifyLev}级!";
await _messageService.SendBroadcast(userId, nameof(MessageEnum.BroadcastCode.Promote), msg);
}
} }
else //执行材料返还 else //执行材料返还
{ {

View File

@@ -44,7 +44,7 @@
4.使用龙泉水装备会不可交易,使用正龙泉水装备自动为可交易状态<br> 4.使用龙泉水装备会不可交易,使用正龙泉水装备自动为可交易状态<br>
</div> </div>
<GamePopup v-model:show="showChange" title="【换材料】" style="width: 60%;max-height: 30%;"> <GamePopup v-model:show="showChange" title="【换材料】" style="width: 60%;max-height: 30%;">
<!-- 自定义内容 --> <!-- 自定义内容 -->
<div class="content" style="max-height: 300px;margin-top: 15px;;"> <div class="content" style="max-height: 300px;margin-top: 15px;;">
<div class="item" v-for="(item, index) in changeData" :key="index"> <div class="item" v-for="(item, index) in changeData" :key="index">
@@ -74,8 +74,7 @@ onMounted(async () => {
} }
}) })
const BindData = async (): Promise<void> => { const BindData = async (): Promise<void> => {
let result = await EquService.GetEquUpInfo(ueId); let result = await EquService.GetEquUpInfo(ueId);
console.log(result);
if (result.code == 0) { if (result.code == 0) {
equData.value = result.data.equData; equData.value = result.data.equData;
isMax.value = result.data.isMax; isMax.value = result.data.isMax;
@@ -98,7 +97,7 @@ const ChangeProp = (data: any) => {
} }
const ChangePropOk = async (data: any) => { const ChangePropOk = async (data: any) => {
MessageExtend.LoadingToast("换中..."); MessageExtend.LoadingToast("换中...");
needs.value.forEach(it => { needs.value.forEach(it => {
if (it.id == changeNum.value) { if (it.id == changeNum.value) {
it.name = data.name; it.name = data.name;
@@ -108,8 +107,7 @@ const ChangePropOk = async (data: any) => {
} }
}); });
let _needs = JSON.stringify(needs.value); let _needs = JSON.stringify(needs.value);
let result = await BagService.CheckUserProp(_needs); let result = await BagService.CheckUserProp(_needs);
console.log(result);
MessageExtend.LoadingClose(); MessageExtend.LoadingClose();
if (result.code == 0) { if (result.code == 0) {
verifyData.value = result.data; verifyData.value = result.data;
@@ -117,7 +115,7 @@ const ChangePropOk = async (data: any) => {
showChange.value = false; showChange.value = false;
} }
else { else {
MessageExtend.ShowDialog("材料换", result.msg); MessageExtend.ShowDialog("材料换", result.msg);
} }
} }