From 429701983601deb96139925254a9fd85a6820d9f Mon Sep 17 00:00:00 2001 From: Putoo <290555932@qq.com> Date: Wed, 17 Jun 2026 19:31:21 +0800 Subject: [PATCH] 121212 --- .../Application.Web/Controllers/Pub/EquController.cs | 6 ++++++ Web/src/pages/user/equ/up.vue | 12 +++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Service/Application.Web/Controllers/Pub/EquController.cs b/Service/Application.Web/Controllers/Pub/EquController.cs index 5baff62..f67438b 100644 --- a/Service/Application.Web/Controllers/Pub/EquController.cs +++ b/Service/Application.Web/Controllers/Pub/EquController.cs @@ -689,6 +689,12 @@ public class EquController : ControllerBase var nexts = nextNeeds.euId == needs.euId ? reqNeeds : nextNeeds.needData; 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 //执行材料返还 { diff --git a/Web/src/pages/user/equ/up.vue b/Web/src/pages/user/equ/up.vue index f828b88..92011c1 100644 --- a/Web/src/pages/user/equ/up.vue +++ b/Web/src/pages/user/equ/up.vue @@ -44,7 +44,7 @@ 4.使用龙泉水装备会不可交易,使用正龙泉水装备自动为可交易状态。
- +
@@ -74,8 +74,7 @@ onMounted(async () => { } }) const BindData = async (): Promise => { - let result = await EquService.GetEquUpInfo(ueId); - console.log(result); + let result = await EquService.GetEquUpInfo(ueId); if (result.code == 0) { equData.value = result.data.equData; isMax.value = result.data.isMax; @@ -98,7 +97,7 @@ const ChangeProp = (data: any) => { } const ChangePropOk = async (data: any) => { - MessageExtend.LoadingToast("切换中..."); + MessageExtend.LoadingToast("更换中..."); needs.value.forEach(it => { if (it.id == changeNum.value) { it.name = data.name; @@ -108,8 +107,7 @@ const ChangePropOk = async (data: any) => { } }); let _needs = JSON.stringify(needs.value); - let result = await BagService.CheckUserProp(_needs); - console.log(result); + let result = await BagService.CheckUserProp(_needs); MessageExtend.LoadingClose(); if (result.code == 0) { verifyData.value = result.data; @@ -117,7 +115,7 @@ const ChangePropOk = async (data: any) => { showChange.value = false; } else { - MessageExtend.ShowDialog("材料切换", result.msg); + MessageExtend.ShowDialog("材料更换", result.msg); } }