This commit is contained in:
aozhiwei 2024-06-19 14:26:27 +08:00
parent ffb980f74e
commit 2199523301

View File

@ -701,7 +701,7 @@ class Hero extends BaseModel {
{
if (self::find($heroUniId)) {
myself()->_getSelfMysql()->execScript(
'UPDATE t_hero SET token_id=:token_id, active_count=active_count + 1 ' .
'UPDATE t_hero SET token_id=:token_id ' .
'WHERE idx=:idx AND token_id IS NULL;',
array(
':idx' => $heroUniId,