This commit is contained in:
yangduo 2025-04-11 15:20:17 +08:00
parent 64e37a19bf
commit 60a026f6ee

View File

@ -703,11 +703,12 @@ class SoloController
}
$found = false;
$newarr = array();
foreach ($details[$fundsname] as &$id) {
if ($id == $fundsid) {
$found = true;
unset($id);
break;
} else {
$newarr[] = $id;
}
}
@ -716,6 +717,8 @@ class SoloController
return;
}
$details[$fundsname] = $newarr;
if (!array_key_exists($fundsid, $fundscfg)) {
phpcommon\sendError(ERR_USER_BASE + 1, '基金不存在 4');
return;
@ -1056,7 +1059,7 @@ class SoloController
}
} else {
$quest->triggerQuest(QUEST_DAY_SWEEP, 1, 1, $account_id);
$quest->triggerQuest(QUEST_DAY_MEDALS, 1,$medalcost, $account_id);
$quest->triggerQuest(QUEST_DAY_MEDALS, 1, $medalcost, $account_id);
}
$uplv_all_item_list = array();