This commit is contained in:
yangduo 2025-02-11 15:01:20 +08:00
parent 937d1f3f83
commit 7e739059ba
2 changed files with 1 additions and 5 deletions

View File

@ -474,12 +474,10 @@ class AddReward {
if ($row['active_time'] < time() + $time * 3600) {
$nowTime = time() + $time * 3600;
}
$status = 1;
}
if ($t == 0) {
$status = $this->getStatus($item_id, $status,$accountid);
if ($status == 2 && $nowTime > time()) {
$status = 1;
}
} else if ($t == 1){
$status = 0;
$this->updateStatus($item_id, $accountid);

View File

@ -2129,8 +2129,6 @@ class RoleController
public function getFightEquip()
{
phpcommon\sendError(ERR_USER_BASE + 1, 'id无效');
return;
$account_id = $_REQUEST['account_id'];
//登录校验
$login = loginVerify($account_id, $_REQUEST['session_id']);