This commit is contained in:
aozhiwei 2022-04-06 22:07:31 +08:00
parent 814f98a502
commit 5b4659db65
3 changed files with 7 additions and 2 deletions

View File

@ -28,6 +28,9 @@ class Battle(object):
'url': 'webapp/index.php?c=Battle&a=battleReport',
'params': [
_common.ReqHead(),
['battle_uniid', '', 'battle_uuid'],
['is_valid_battle', 0, 'is_valid_battle'],
['payload', '', 'payload'],
['map_id', 0, '地图id'],
['map_tpl_name', '', '地图模板名'],
['room_uuid', 0, '房间唯一id'],
@ -42,6 +45,8 @@ class Battle(object):
['ranked', 0, '排名'],
['kills', 0, '击杀数'],
['damage_out', 0, '伤害输出'],
['weapon_uuid1', '', 'weapon_uuid1'],
['weapon_uuid2', '', 'weapon_uuid2'],
['rescue_teammate_times', 0, '救起队友次数'],
['diving_times', 0, '潜水次数'],
['damage_in', 0, '伤害输入'],

View File

@ -73,7 +73,7 @@ class Bag extends BaseModel {
{
$todayGetGold = $row['today_get_gold'];
$lastGetGoldTime = $row['last_get_gold_time'];
if (myself()->_getDaySeconds($lastGetGoldTime) > myself()->getNowDaySeconds()) {
if (myself()->_getDaySeconds($lastGetGoldTime) > myself()->_getNowDaySeconds()) {
$todayGetGold = 0;
}
return array(

View File

@ -120,7 +120,7 @@ class Hero extends BaseModel {
}
$todayGetGold = $row['today_get_gold'];
$lastGetGoldTime = $row['last_get_gold_time'];
if (myself()->_getDaySeconds($lastGetGoldTime) > myself()->getNowDaySeconds()) {
if (myself()->_getDaySeconds($lastGetGoldTime) > myself()->_getNowDaySeconds()) {
$todayGetGold = 0;
}
$dto = array(