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;
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 //执行材料返还
{

View File

@@ -44,7 +44,7 @@
4.使用龙泉水装备会不可交易,使用正龙泉水装备自动为可交易状态<br>
</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="item" v-for="(item, index) in changeData" :key="index">
@@ -75,7 +75,6 @@ onMounted(async () => {
})
const BindData = async (): Promise<void> => {
let result = await EquService.GetEquUpInfo(ueId);
console.log(result);
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;
@@ -109,7 +108,6 @@ const ChangePropOk = async (data: any) => {
});
let _needs = JSON.stringify(needs.value);
let result = await BagService.CheckUserProp(_needs);
console.log(result);
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);
}
}