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;