# -*- coding: utf-8 -*- import _common class Additem(object): def __init__(self): self.apis = [ { 'desc': '添加道具additem', 'group': 'Additem', 'url': 'webapp/index.php?c=Additem&a=additem', 'params': [ _common.ReqHead(), ['item_id', 0, '道具id'], ['item_num', 0, '道具数量'], ['time', 0, '时间'], ], 'response': [ _common.RspHead(), ] }, { 'desc': '添加钻石addDiamond', 'group': 'Additem', 'url': 'webapp/index.php?c=Additem&a=addDiamond', 'params': [ _common.ReqHead(), ['item_id', 0, '道具id'], ['item_num', 0, '道具数量'], ['time', 0, '时间'], ], 'response': [ _common.RspHead(), ] }, { 'desc': '添加金币addCoin', 'group': 'Additem', 'url': 'webapp/index.php?c=Additem&a=addCoin', 'params': [ _common.ReqHead(), ['item_id', 0, '道具id'], ['item_num', 0, '道具数量'], ['time', 0, '时间'], ], 'response': [ _common.RspHead(), ] }, { 'desc': '获取金币getCoin', 'group': 'Additem', 'url': 'webapp/index.php?c=Additem&a=getCoin', 'params': [ _common.ReqHead(), ], 'response': [ _common.RspHead(), ] }, ]