This commit is contained in:
hujiabin 2024-07-09 15:49:35 +08:00
parent e4538c7ef6
commit 954964e4dd
2 changed files with 7 additions and 2 deletions

View File

@ -214,7 +214,7 @@ class Hero extends BaseModel {
);
$dto['is_avatar'] = 0;
if (SERVER_ENV == _ONLINE) {
if ($dto['token_id'] > 66240603010001668 && $dto['token_id'] <= 6240603010002168){
if ($dto['token_id'] > 6240603010001668 && $dto['token_id'] <= 6240603010002168){
$dto['is_avatar'] = 1;
}
}else{
@ -315,7 +315,7 @@ class Hero extends BaseModel {
// $dto['nft_address'] = $nft_address;
$dto['is_avatar'] = 0;
if (SERVER_ENV == _ONLINE) {
if ($dto['token_id'] > 66240603010001668 && $dto['token_id'] <= 6240603010002168){
if ($dto['token_id'] > 6240603010001668 && $dto['token_id'] <= 6240603010002168){
$dto['is_avatar'] = 1;
}
}else{

View File

@ -290,6 +290,11 @@ class RoomBattleDataService extends BaseService {
'ID' => 'Box',
'SUB_ID' => 'drop',
'SUB_KEY' => 'drop_box',
'before' =>array(
'rnd' => $rnd,
'rate' => $rate,
'rewardMeta' => $rewardMeta,
),
'result' => $chestItems,
);
LogService::burialPointEvent($event);