管理端CP等级

This commit is contained in:
2025-11-19 14:54:24 +08:00
parent 7b788cf81d
commit 8239615cb6

View File

@@ -130,7 +130,7 @@ class UserCp extends Model
//修改Cp空间等级
$data['level'] = $level;
}
$data['change_value'] = $yuan_exp + $exp;
$data['exp'] = $yuan_exp + $exp;
Db::name('user_cp_zone')->where(['id' => $cp_zone_id])->update($data);
return true;
}