This commit is contained in:
aozhiwei 2021-11-29 10:19:05 +08:00
parent 44ccdc20a0
commit 9425c26c37
2 changed files with 44 additions and 0 deletions

View File

@ -81,8 +81,20 @@ class Item(object):
['try_expire_at', 0, '试用到期时间(utc时间)'],
]
class AwardItem(object):
def __init__(self):
self.fields = [
['type', 0, '奖励类型 1:道具 2:英雄 3:英雄皮肤 4枪械皮肤'],
['union_1', Item(), '道具'],
['union_2', Hero(), '英雄'],
['union_3', HeroSkin(), '英雄皮肤'],
['union_4', GunSkin(), '枪械皮肤'],
]
class Award(object):
def __init__(self):
self.fields = [
['!item_list', [AwardItem()], '奖励物品列表']
]

32
webapp/models/DynData.php Normal file
View File

@ -0,0 +1,32 @@
<?php
namespace models;
use mt;
use phpcommon\SqlHelper;
class DynData extends BaseModel {
public static function getV($x, $y, $defVal = 0)
{
}
public static function setV($x, $y, $defVal)
{
}
public static function incV($x, $y, $val)
{
}
public static function decV($x, $y, $val)
{
}
private static $dynData = null;
}