diff --git a/apidoc.json b/apidoc.json index 0792f11..e92a4d5 100644 --- a/apidoc.json +++ b/apidoc.json @@ -3,5 +3,5 @@ "version": "0.1.0", "description": "极乐精英", "title": "极乐精英", - "url" : "https://game2005api-test.kingsome.cn/apidoc" + "url" : "https://game2005api-test.kingsome.cn/" } diff --git a/doc/ActivityController.py b/doc/Activity.py similarity index 63% rename from doc/ActivityController.py rename to doc/Activity.py index 99e0d2e..30088cd 100644 --- a/doc/ActivityController.py +++ b/doc/Activity.py @@ -2,14 +2,14 @@ import _common -class ActivityController(object): +class Activity(object): def __init__(self): self.apis = [ { 'desc': 'newLuckDrawInfo', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=newLuckDrawInfo', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=newLuckDrawInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class ActivityController(object): }, { 'desc': 'getNewLuckDraw', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=getNewLuckDraw', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=getNewLuckDraw', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class ActivityController(object): }, { 'desc': 'drawTableInfo', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=drawTableInfo', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=drawTableInfo', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class ActivityController(object): }, { 'desc': 'getDrawTable', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=getDrawTable', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=getDrawTable', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class ActivityController(object): }, { 'desc': 'doubleLuckDraw', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=doubleLuckDraw', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=doubleLuckDraw', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class ActivityController(object): }, { 'desc': 'lotteryReward', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=lotteryReward', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=lotteryReward', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class ActivityController(object): }, { 'desc': 'getBoxOrder', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=getBoxOrder', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=getBoxOrder', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class ActivityController(object): }, { 'desc': 'getOrderReward', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=getOrderReward', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=getOrderReward', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class ActivityController(object): }, { 'desc': 'drawBoxInfo', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=drawBoxInfo', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=drawBoxInfo', 'params': [ _common.ReqHead(), ], @@ -107,8 +107,8 @@ class ActivityController(object): }, { 'desc': 'drawBoxReward', - 'group': 'ActivityController', - 'url': 'webapp/index.php?c=ActivityController&a=drawBoxReward', + 'group': 'Activity', + 'url': 'webapp/index.php?c=Activity&a=drawBoxReward', 'params': [ _common.ReqHead(), ], diff --git a/doc/AdditemController.py b/doc/Additem.py similarity index 65% rename from doc/AdditemController.py rename to doc/Additem.py index 6868cd0..8a66fea 100644 --- a/doc/AdditemController.py +++ b/doc/Additem.py @@ -2,14 +2,14 @@ import _common -class AdditemController(object): +class Additem(object): def __init__(self): self.apis = [ { 'desc': 'additem', - 'group': 'AdditemController', - 'url': 'webapp/index.php?c=AdditemController&a=additem', + 'group': 'Additem', + 'url': 'webapp/index.php?c=Additem&a=additem', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class AdditemController(object): }, { 'desc': 'addDiamond', - 'group': 'AdditemController', - 'url': 'webapp/index.php?c=AdditemController&a=addDiamond', + 'group': 'Additem', + 'url': 'webapp/index.php?c=Additem&a=addDiamond', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class AdditemController(object): }, { 'desc': 'addCoin', - 'group': 'AdditemController', - 'url': 'webapp/index.php?c=AdditemController&a=addCoin', + 'group': 'Additem', + 'url': 'webapp/index.php?c=Additem&a=addCoin', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class AdditemController(object): }, { 'desc': 'getCoin', - 'group': 'AdditemController', - 'url': 'webapp/index.php?c=AdditemController&a=getCoin', + 'group': 'Additem', + 'url': 'webapp/index.php?c=Additem&a=getCoin', 'params': [ _common.ReqHead(), ], diff --git a/doc/BagController.py b/doc/Bag.py similarity index 65% rename from doc/BagController.py rename to doc/Bag.py index b3fc3a2..63df022 100644 --- a/doc/BagController.py +++ b/doc/Bag.py @@ -2,14 +2,14 @@ import _common -class BagController(object): +class Bag(object): def __init__(self): self.apis = [ { 'desc': 'getBagInfo', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=getBagInfo', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=getBagInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class BagController(object): }, { 'desc': 'exchangeBagItem', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=exchangeBagItem', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=exchangeBagItem', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class BagController(object): }, { 'desc': 'downItem', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=downItem', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=downItem', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class BagController(object): }, { 'desc': 'downItemColor', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=downItemColor', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=downItemColor', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class BagController(object): }, { 'desc': 'tryItem', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=tryItem', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=tryItem', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class BagController(object): }, { 'desc': 'freeGetItem', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=freeGetItem', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=freeGetItem', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class BagController(object): }, { 'desc': 'updateWeizhuang', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=updateWeizhuang', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=updateWeizhuang', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class BagController(object): }, { 'desc': 'deleteItem', - 'group': 'BagController', - 'url': 'webapp/index.php?c=BagController&a=deleteItem', + 'group': 'Bag', + 'url': 'webapp/index.php?c=Bag&a=deleteItem', 'params': [ _common.ReqHead(), ], diff --git a/doc/EquipController.py b/doc/Equip.py similarity index 65% rename from doc/EquipController.py rename to doc/Equip.py index 3ca78de..781485e 100644 --- a/doc/EquipController.py +++ b/doc/Equip.py @@ -2,14 +2,14 @@ import _common -class EquipController(object): +class Equip(object): def __init__(self): self.apis = [ { 'desc': 'equipInfo', - 'group': 'EquipController', - 'url': 'webapp/index.php?c=EquipController&a=equipInfo', + 'group': 'Equip', + 'url': 'webapp/index.php?c=Equip&a=equipInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class EquipController(object): }, { 'desc': 'speedUpTime', - 'group': 'EquipController', - 'url': 'webapp/index.php?c=EquipController&a=speedUpTime', + 'group': 'Equip', + 'url': 'webapp/index.php?c=Equip&a=speedUpTime', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class EquipController(object): }, { 'desc': 'exchangeNewEquip', - 'group': 'EquipController', - 'url': 'webapp/index.php?c=EquipController&a=exchangeNewEquip', + 'group': 'Equip', + 'url': 'webapp/index.php?c=Equip&a=exchangeNewEquip', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class EquipController(object): }, { 'desc': 'shengjiEquip', - 'group': 'EquipController', - 'url': 'webapp/index.php?c=EquipController&a=shengjiEquip', + 'group': 'Equip', + 'url': 'webapp/index.php?c=Equip&a=shengjiEquip', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class EquipController(object): }, { 'desc': 'jinjieEquip', - 'group': 'EquipController', - 'url': 'webapp/index.php?c=EquipController&a=jinjieEquip', + 'group': 'Equip', + 'url': 'webapp/index.php?c=Equip&a=jinjieEquip', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class EquipController(object): }, { 'desc': 'unlockEquip', - 'group': 'EquipController', - 'url': 'webapp/index.php?c=EquipController&a=unlockEquip', + 'group': 'Equip', + 'url': 'webapp/index.php?c=Equip&a=unlockEquip', 'params': [ _common.ReqHead(), ], diff --git a/doc/FesActivityController.py b/doc/FesActivity.py similarity index 63% rename from doc/FesActivityController.py rename to doc/FesActivity.py index 2804407..d1fb551 100644 --- a/doc/FesActivityController.py +++ b/doc/FesActivity.py @@ -2,14 +2,14 @@ import _common -class FesActivityController(object): +class FesActivity(object): def __init__(self): self.apis = [ { 'desc': 'acitivityInfo', - 'group': 'FesActivityController', - 'url': 'webapp/index.php?c=FesActivityController&a=acitivityInfo', + 'group': 'FesActivity', + 'url': 'webapp/index.php?c=FesActivity&a=acitivityInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class FesActivityController(object): }, { 'desc': 'getActReward', - 'group': 'FesActivityController', - 'url': 'webapp/index.php?c=FesActivityController&a=getActReward', + 'group': 'FesActivity', + 'url': 'webapp/index.php?c=FesActivity&a=getActReward', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class FesActivityController(object): }, { 'desc': 'getActExtraReward', - 'group': 'FesActivityController', - 'url': 'webapp/index.php?c=FesActivityController&a=getActExtraReward', + 'group': 'FesActivity', + 'url': 'webapp/index.php?c=FesActivity&a=getActExtraReward', 'params': [ _common.ReqHead(), ], diff --git a/doc/FriendController.py b/doc/Friend.py similarity index 64% rename from doc/FriendController.py rename to doc/Friend.py index 6d1bd8a..4fb52a2 100644 --- a/doc/FriendController.py +++ b/doc/Friend.py @@ -2,14 +2,14 @@ import _common -class FriendController(object): +class Friend(object): def __init__(self): self.apis = [ { 'desc': 'selectUserInfo', - 'group': 'FriendController', - 'url': 'webapp/index.php?c=FriendController&a=selectUserInfo', + 'group': 'Friend', + 'url': 'webapp/index.php?c=Friend&a=selectUserInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class FriendController(object): }, { 'desc': 'selectUser', - 'group': 'FriendController', - 'url': 'webapp/index.php?c=FriendController&a=selectUser', + 'group': 'Friend', + 'url': 'webapp/index.php?c=Friend&a=selectUser', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class FriendController(object): }, { 'desc': 'selectUserByName', - 'group': 'FriendController', - 'url': 'webapp/index.php?c=FriendController&a=selectUserByName', + 'group': 'Friend', + 'url': 'webapp/index.php?c=Friend&a=selectUserByName', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class FriendController(object): }, { 'desc': 'createRoleInfo', - 'group': 'FriendController', - 'url': 'webapp/index.php?c=FriendController&a=createRoleInfo', + 'group': 'Friend', + 'url': 'webapp/index.php?c=Friend&a=createRoleInfo', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class FriendController(object): }, { 'desc': 'changeRoleInfo', - 'group': 'FriendController', - 'url': 'webapp/index.php?c=FriendController&a=changeRoleInfo', + 'group': 'Friend', + 'url': 'webapp/index.php?c=Friend&a=changeRoleInfo', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class FriendController(object): }, { 'desc': 'selRepeatName', - 'group': 'FriendController', - 'url': 'webapp/index.php?c=FriendController&a=selRepeatName', + 'group': 'Friend', + 'url': 'webapp/index.php?c=Friend&a=selRepeatName', 'params': [ _common.ReqHead(), ], diff --git a/doc/GMController.py b/doc/GM.py similarity index 67% rename from doc/GMController.py rename to doc/GM.py index 4abbb1a..a93e8ff 100644 --- a/doc/GMController.py +++ b/doc/GM.py @@ -2,14 +2,14 @@ import _common -class GMController(object): +class GM(object): def __init__(self): self.apis = [ { 'desc': 'clearDB', - 'group': 'GMController', - 'url': 'webapp/index.php?c=GMController&a=clearDB', + 'group': 'GM', + 'url': 'webapp/index.php?c=GM&a=clearDB', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class GMController(object): }, { 'desc': 'getSysTime', - 'group': 'GMController', - 'url': 'webapp/index.php?c=GMController&a=getSysTime', + 'group': 'GM', + 'url': 'webapp/index.php?c=GM&a=getSysTime', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class GMController(object): }, { 'desc': 'setSysTime', - 'group': 'GMController', - 'url': 'webapp/index.php?c=GMController&a=setSysTime', + 'group': 'GM', + 'url': 'webapp/index.php?c=GM&a=setSysTime', 'params': [ _common.ReqHead(), ], diff --git a/doc/GameOverController.py b/doc/GameOver.py similarity index 63% rename from doc/GameOverController.py rename to doc/GameOver.py index bb9d83c..ad17630 100644 --- a/doc/GameOverController.py +++ b/doc/GameOver.py @@ -2,14 +2,14 @@ import _common -class GameOverController(object): +class GameOver(object): def __init__(self): self.apis = [ { 'desc': 'firstRewardInfo', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=firstRewardInfo', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=firstRewardInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class GameOverController(object): }, { 'desc': 'getFirstReward', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=getFirstReward', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=getFirstReward', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class GameOverController(object): }, { 'desc': 'getFuckBoxReward', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=getFuckBoxReward', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=getFuckBoxReward', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class GameOverController(object): }, { 'desc': 'getDiamond', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=getDiamond', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=getDiamond', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class GameOverController(object): }, { 'desc': 'updateDiamond', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=updateDiamond', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=updateDiamond', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class GameOverController(object): }, { 'desc': 'addSpoilsItems', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=addSpoilsItems', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=addSpoilsItems', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class GameOverController(object): }, { 'desc': 'fightRevive', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=fightRevive', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=fightRevive', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class GameOverController(object): }, { 'desc': 'addGameTimes', - 'group': 'GameOverController', - 'url': 'webapp/index.php?c=GameOverController&a=addGameTimes', + 'group': 'GameOver', + 'url': 'webapp/index.php?c=GameOver&a=addGameTimes', 'params': [ _common.ReqHead(), ], diff --git a/doc/HangController.py b/doc/Hang.py similarity index 65% rename from doc/HangController.py rename to doc/Hang.py index 376a368..3e99031 100644 --- a/doc/HangController.py +++ b/doc/Hang.py @@ -2,14 +2,14 @@ import _common -class HangController(object): +class Hang(object): def __init__(self): self.apis = [ { 'desc': 'getTime', - 'group': 'HangController', - 'url': 'webapp/index.php?c=HangController&a=getTime', + 'group': 'Hang', + 'url': 'webapp/index.php?c=Hang&a=getTime', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class HangController(object): }, { 'desc': 'getRedInfo', - 'group': 'HangController', - 'url': 'webapp/index.php?c=HangController&a=getRedInfo', + 'group': 'Hang', + 'url': 'webapp/index.php?c=Hang&a=getRedInfo', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class HangController(object): }, { 'desc': 'getOnlineReward', - 'group': 'HangController', - 'url': 'webapp/index.php?c=HangController&a=getOnlineReward', + 'group': 'Hang', + 'url': 'webapp/index.php?c=Hang&a=getOnlineReward', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class HangController(object): }, { 'desc': 'getHangDoubleReward', - 'group': 'HangController', - 'url': 'webapp/index.php?c=HangController&a=getHangDoubleReward', + 'group': 'Hang', + 'url': 'webapp/index.php?c=Hang&a=getHangDoubleReward', 'params': [ _common.ReqHead(), ], diff --git a/doc/HelloWorldController.py b/doc/HelloWorld.py similarity index 65% rename from doc/HelloWorldController.py rename to doc/HelloWorld.py index f49b6f8..b3d8232 100644 --- a/doc/HelloWorldController.py +++ b/doc/HelloWorld.py @@ -2,14 +2,14 @@ import _common -class HelloWorldController(object): +class HelloWorld(object): def __init__(self): self.apis = [ { 'desc': 'sayHello', - 'group': 'HelloWorldController', - 'url': 'webapp/index.php?c=HelloWorldController&a=sayHello', + 'group': 'HelloWorld', + 'url': 'webapp/index.php?c=HelloWorld&a=sayHello', 'params': [ _common.ReqHead(), ], diff --git a/doc/NBagController.py b/doc/NBag.py similarity index 65% rename from doc/NBagController.py rename to doc/NBag.py index e772196..f156534 100644 --- a/doc/NBagController.py +++ b/doc/NBag.py @@ -2,14 +2,14 @@ import _common -class NBagController(object): +class NBag(object): def __init__(self): self.apis = [ { 'desc': 'testPhpFunc', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=testPhpFunc', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=testPhpFunc', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NBagController(object): }, { 'desc': 'addItemToDB', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=addItemToDB', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=addItemToDB', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NBagController(object): }, { 'desc': 'saleItem', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=saleItem', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=saleItem', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NBagController(object): }, { 'desc': 'useItem', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=useItem', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=useItem', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NBagController(object): }, { 'desc': 'updateBag', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=updateBag', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=updateBag', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class NBagController(object): }, { 'desc': 'getAllItem', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=getAllItem', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=getAllItem', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class NBagController(object): }, { 'desc': 'getAllYokeItem', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=getAllYokeItem', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=getAllYokeItem', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class NBagController(object): }, { 'desc': 'testPhpFunc2', - 'group': 'NBagController', - 'url': 'webapp/index.php?c=NBagController&a=testPhpFunc2', + 'group': 'NBag', + 'url': 'webapp/index.php?c=NBag&a=testPhpFunc2', 'params': [ _common.ReqHead(), ], diff --git a/doc/NGunController.py b/doc/NGun.py similarity index 65% rename from doc/NGunController.py rename to doc/NGun.py index add1ead..178dbea 100644 --- a/doc/NGunController.py +++ b/doc/NGun.py @@ -2,14 +2,14 @@ import _common -class NGunController(object): +class NGun(object): def __init__(self): self.apis = [ { 'desc': 'getGunInfo', - 'group': 'NGunController', - 'url': 'webapp/index.php?c=NGunController&a=getGunInfo', + 'group': 'NGun', + 'url': 'webapp/index.php?c=NGun&a=getGunInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NGunController(object): }, { 'desc': 'skillLvUp', - 'group': 'NGunController', - 'url': 'webapp/index.php?c=NGunController&a=skillLvUp', + 'group': 'NGun', + 'url': 'webapp/index.php?c=NGun&a=skillLvUp', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NGunController(object): }, { 'desc': 'getGunAndSkinInfo', - 'group': 'NGunController', - 'url': 'webapp/index.php?c=NGunController&a=getGunAndSkinInfo', + 'group': 'NGun', + 'url': 'webapp/index.php?c=NGun&a=getGunAndSkinInfo', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NGunController(object): }, { 'desc': 'equipGunSkin', - 'group': 'NGunController', - 'url': 'webapp/index.php?c=NGunController&a=equipGunSkin', + 'group': 'NGun', + 'url': 'webapp/index.php?c=NGun&a=equipGunSkin', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NGunController(object): }, { 'desc': 'buyGunSkin', - 'group': 'NGunController', - 'url': 'webapp/index.php?c=NGunController&a=buyGunSkin', + 'group': 'NGun', + 'url': 'webapp/index.php?c=NGun&a=buyGunSkin', 'params': [ _common.ReqHead(), ], diff --git a/doc/NHeroController.py b/doc/NHero.py similarity index 64% rename from doc/NHeroController.py rename to doc/NHero.py index 6176de0..31febbf 100644 --- a/doc/NHeroController.py +++ b/doc/NHero.py @@ -2,14 +2,14 @@ import _common -class NHeroController(object): +class NHero(object): def __init__(self): self.apis = [ { 'desc': 'addItemToDB', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=addItemToDB', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=addItemToDB', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NHeroController(object): }, { 'desc': 'getAllHero', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=getAllHero', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=getAllHero', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NHeroController(object): }, { 'desc': 'getHeroInfoByID', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=getHeroInfoByID', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=getHeroInfoByID', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NHeroController(object): }, { 'desc': 'getYokeItemInfo', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=getYokeItemInfo', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=getYokeItemInfo', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NHeroController(object): }, { 'desc': 'changeSkin', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=changeSkin', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=changeSkin', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class NHeroController(object): }, { 'desc': 'buySkin', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=buySkin', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=buySkin', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class NHeroController(object): }, { 'desc': 'buyHero', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=buyHero', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=buyHero', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class NHeroController(object): }, { 'desc': 'getAllHeroSkinByID', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=getAllHeroSkinByID', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=getAllHeroSkinByID', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class NHeroController(object): }, { 'desc': 'skillLvUp', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=skillLvUp', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=skillLvUp', 'params': [ _common.ReqHead(), ], @@ -107,8 +107,8 @@ class NHeroController(object): }, { 'desc': 'useYokeItem', - 'group': 'NHeroController', - 'url': 'webapp/index.php?c=NHeroController&a=useYokeItem', + 'group': 'NHero', + 'url': 'webapp/index.php?c=NHero&a=useYokeItem', 'params': [ _common.ReqHead(), ], diff --git a/doc/NPlayerController.py b/doc/NPlayer.py similarity index 65% rename from doc/NPlayerController.py rename to doc/NPlayer.py index 1c13938..0c46ad5 100644 --- a/doc/NPlayerController.py +++ b/doc/NPlayer.py @@ -2,14 +2,14 @@ import _common -class NPlayerController(object): +class NPlayer(object): def __init__(self): self.apis = [ { 'desc': 'getGunInfo', - 'group': 'NPlayerController', - 'url': 'webapp/index.php?c=NPlayerController&a=getGunInfo', + 'group': 'NPlayer', + 'url': 'webapp/index.php?c=NPlayer&a=getGunInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NPlayerController(object): }, { 'desc': 'getPlayerLv', - 'group': 'NPlayerController', - 'url': 'webapp/index.php?c=NPlayerController&a=getPlayerLv', + 'group': 'NPlayer', + 'url': 'webapp/index.php?c=NPlayer&a=getPlayerLv', 'params': [ _common.ReqHead(), ], diff --git a/doc/NPlayerInfoController.py b/doc/NPlayerInfo.py similarity index 62% rename from doc/NPlayerInfoController.py rename to doc/NPlayerInfo.py index f5ee864..c55fcab 100644 --- a/doc/NPlayerInfoController.py +++ b/doc/NPlayerInfo.py @@ -2,14 +2,14 @@ import _common -class NPlayerInfoController(object): +class NPlayerInfo(object): def __init__(self): self.apis = [ { 'desc': 'sendGMFToClient', - 'group': 'NPlayerInfoController', - 'url': 'webapp/index.php?c=NPlayerInfoController&a=sendGMFToClient', + 'group': 'NPlayerInfo', + 'url': 'webapp/index.php?c=NPlayerInfo&a=sendGMFToClient', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NPlayerInfoController(object): }, { 'desc': 'addGiveMeFive', - 'group': 'NPlayerInfoController', - 'url': 'webapp/index.php?c=NPlayerInfoController&a=addGiveMeFive', + 'group': 'NPlayerInfo', + 'url': 'webapp/index.php?c=NPlayerInfo&a=addGiveMeFive', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NPlayerInfoController(object): }, { 'desc': 'getPlayerInfo', - 'group': 'NPlayerInfoController', - 'url': 'webapp/index.php?c=NPlayerInfoController&a=getPlayerInfo', + 'group': 'NPlayerInfo', + 'url': 'webapp/index.php?c=NPlayerInfo&a=getPlayerInfo', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NPlayerInfoController(object): }, { 'desc': 'changeHIFrameHero', - 'group': 'NPlayerInfoController', - 'url': 'webapp/index.php?c=NPlayerInfoController&a=changeHIFrameHero', + 'group': 'NPlayerInfo', + 'url': 'webapp/index.php?c=NPlayerInfo&a=changeHIFrameHero', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NPlayerInfoController(object): }, { 'desc': 'changeName', - 'group': 'NPlayerInfoController', - 'url': 'webapp/index.php?c=NPlayerInfoController&a=changeName', + 'group': 'NPlayerInfo', + 'url': 'webapp/index.php?c=NPlayerInfo&a=changeName', 'params': [ _common.ReqHead(), ], diff --git a/doc/NRRController.py b/doc/NRR.py similarity index 65% rename from doc/NRRController.py rename to doc/NRR.py index c36d124..2a4b894 100644 --- a/doc/NRRController.py +++ b/doc/NRR.py @@ -2,14 +2,14 @@ import _common -class NRRController(object): +class NRR(object): def __init__(self): self.apis = [ { 'desc': 'getGunInfo', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=getGunInfo', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=getGunInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NRRController(object): }, { 'desc': 'test', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=test', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=test', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NRRController(object): }, { 'desc': 'ResetRRVIP', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=ResetRRVIP', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=ResetRRVIP', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NRRController(object): }, { 'desc': 'buyRRVIP', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=buyRRVIP', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=buyRRVIP', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NRRController(object): }, { 'desc': 'getRRInfo', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=getRRInfo', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=getRRInfo', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class NRRController(object): }, { 'desc': 'getAward', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=getAward', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=getAward', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class NRRController(object): }, { 'desc': 'getAllReward', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=getAllReward', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=getAllReward', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class NRRController(object): }, { 'desc': 'lvUp', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=lvUp', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=lvUp', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class NRRController(object): }, { 'desc': 'getCurSeasonCfg', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=getCurSeasonCfg', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=getCurSeasonCfg', 'params': [ _common.ReqHead(), ], @@ -107,8 +107,8 @@ class NRRController(object): }, { 'desc': 'getRewardArr', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=getRewardArr', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=getRewardArr', 'params': [ _common.ReqHead(), ], @@ -118,8 +118,8 @@ class NRRController(object): }, { 'desc': 'getRewardByStr', - 'group': 'NRRController', - 'url': 'webapp/index.php?c=NRRController&a=getRewardByStr', + 'group': 'NRR', + 'url': 'webapp/index.php?c=NRR&a=getRewardByStr', 'params': [ _common.ReqHead(), ], diff --git a/doc/NRankController.py b/doc/NRank.py similarity index 66% rename from doc/NRankController.py rename to doc/NRank.py index 8f3cd3f..72db2d8 100644 --- a/doc/NRankController.py +++ b/doc/NRank.py @@ -2,14 +2,14 @@ import _common -class NRankController(object): +class NRank(object): def __init__(self): self.apis = [ { 'desc': 'getGunInfo', - 'group': 'NRankController', - 'url': 'webapp/index.php?c=NRankController&a=getGunInfo', + 'group': 'NRank', + 'url': 'webapp/index.php?c=NRank&a=getGunInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NRankController(object): }, { 'desc': 'getRankInfo', - 'group': 'NRankController', - 'url': 'webapp/index.php?c=NRankController&a=getRankInfo', + 'group': 'NRank', + 'url': 'webapp/index.php?c=NRank&a=getRankInfo', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NRankController(object): }, { 'desc': 'mailTest', - 'group': 'NRankController', - 'url': 'webapp/index.php?c=NRankController&a=mailTest', + 'group': 'NRank', + 'url': 'webapp/index.php?c=NRank&a=mailTest', 'params': [ _common.ReqHead(), ], diff --git a/doc/NShopController.py b/doc/NShop.py similarity index 64% rename from doc/NShopController.py rename to doc/NShop.py index 13ef3f6..f32f0ab 100644 --- a/doc/NShopController.py +++ b/doc/NShop.py @@ -2,14 +2,14 @@ import _common -class NShopController(object): +class NShop(object): def __init__(self): self.apis = [ { 'desc': 'getGunInfo', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=getGunInfo', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=getGunInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NShopController(object): }, { 'desc': 'getShopData', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=getShopData', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=getShopData', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NShopController(object): }, { 'desc': 'getAllItem', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=getAllItem', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=getAllItem', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NShopController(object): }, { 'desc': 'getLimitTypeCnt', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=getLimitTypeCnt', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=getLimitTypeCnt', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NShopController(object): }, { 'desc': 'getItemIDByGoodsID', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=getItemIDByGoodsID', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=getItemIDByGoodsID', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class NShopController(object): }, { 'desc': 'buyGunSkin', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=buyGunSkin', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=buyGunSkin', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class NShopController(object): }, { 'desc': 'buyItem', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=buyItem', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=buyItem', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class NShopController(object): }, { 'desc': 'updateLimitGoodsCnt', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=updateLimitGoodsCnt', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=updateLimitGoodsCnt', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class NShopController(object): }, { 'desc': 'initAllItem', - 'group': 'NShopController', - 'url': 'webapp/index.php?c=NShopController&a=initAllItem', + 'group': 'NShop', + 'url': 'webapp/index.php?c=NShop&a=initAllItem', 'params': [ _common.ReqHead(), ], diff --git a/doc/NTaskController.py b/doc/NTask.py similarity index 64% rename from doc/NTaskController.py rename to doc/NTask.py index b513eba..11dedc2 100644 --- a/doc/NTaskController.py +++ b/doc/NTask.py @@ -2,14 +2,14 @@ import _common -class NTaskController(object): +class NTask(object): def __init__(self): self.apis = [ { 'desc': 'getGunInfo', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=getGunInfo', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=getGunInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NTaskController(object): }, { 'desc': 'test', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=test', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=test', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NTaskController(object): }, { 'desc': 'updateLogin', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=updateLogin', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=updateLogin', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NTaskController(object): }, { 'desc': 'getRewardState', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=getRewardState', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=getRewardState', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NTaskController(object): }, { 'desc': 'getLvTastRewardByTaskID', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=getLvTastRewardByTaskID', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=getLvTastRewardByTaskID', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class NTaskController(object): }, { 'desc': 'getRewardByTaskID', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=getRewardByTaskID', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=getRewardByTaskID', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class NTaskController(object): }, { 'desc': 'updateTaskToDB', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=updateTaskToDB', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=updateTaskToDB', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class NTaskController(object): }, { 'desc': 'getAllTaskInfo', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=getAllTaskInfo', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=getAllTaskInfo', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class NTaskController(object): }, { 'desc': 'InsertTaskType', - 'group': 'NTaskController', - 'url': 'webapp/index.php?c=NTaskController&a=InsertTaskType', + 'group': 'NTask', + 'url': 'webapp/index.php?c=NTask&a=InsertTaskType', 'params': [ _common.ReqHead(), ], diff --git a/doc/NewPayActivityController.py b/doc/NewPayActivity.py similarity index 61% rename from doc/NewPayActivityController.py rename to doc/NewPayActivity.py index e3dfbfa..564262d 100644 --- a/doc/NewPayActivityController.py +++ b/doc/NewPayActivity.py @@ -2,14 +2,14 @@ import _common -class NewPayActivityController(object): +class NewPayActivity(object): def __init__(self): self.apis = [ { 'desc': 'handlePre', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=handlePre', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=handlePre', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class NewPayActivityController(object): }, { 'desc': 'getExplode', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=getExplode', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=getExplode', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class NewPayActivityController(object): }, { 'desc': 'rechargeRmb', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=rechargeRmb', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=rechargeRmb', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class NewPayActivityController(object): }, { 'desc': 'rechargeBuy', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=rechargeBuy', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=rechargeBuy', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class NewPayActivityController(object): }, { 'desc': 'unlockPassCard', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=unlockPassCard', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=unlockPassCard', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class NewPayActivityController(object): }, { 'desc': 'recAcitivityInfo', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=recAcitivityInfo', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=recAcitivityInfo', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class NewPayActivityController(object): }, { 'desc': 'recAcitivityReward', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=recAcitivityReward', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=recAcitivityReward', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class NewPayActivityController(object): }, { 'desc': 'shareDiscount', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=shareDiscount', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=shareDiscount', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class NewPayActivityController(object): }, { 'desc': 'flushDiscountShop', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=flushDiscountShop', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=flushDiscountShop', 'params': [ _common.ReqHead(), ], @@ -107,8 +107,8 @@ class NewPayActivityController(object): }, { 'desc': 'changeHeadKuang', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=changeHeadKuang', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=changeHeadKuang', 'params': [ _common.ReqHead(), ], @@ -118,8 +118,8 @@ class NewPayActivityController(object): }, { 'desc': 'addmailReward', - 'group': 'NewPayActivityController', - 'url': 'webapp/index.php?c=NewPayActivityController&a=addmailReward', + 'group': 'NewPayActivity', + 'url': 'webapp/index.php?c=NewPayActivity&a=addmailReward', 'params': [ _common.ReqHead(), ], diff --git a/doc/PassController.py b/doc/Pass.py similarity index 65% rename from doc/PassController.py rename to doc/Pass.py index d10aa62..95d25dd 100644 --- a/doc/PassController.py +++ b/doc/Pass.py @@ -2,14 +2,14 @@ import _common -class PassController(object): +class Pass(object): def __init__(self): self.apis = [ { 'desc': 'getPassInfo', - 'group': 'PassController', - 'url': 'webapp/index.php?c=PassController&a=getPassInfo', + 'group': 'Pass', + 'url': 'webapp/index.php?c=Pass&a=getPassInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class PassController(object): }, { 'desc': 'getPassReward', - 'group': 'PassController', - 'url': 'webapp/index.php?c=PassController&a=getPassReward', + 'group': 'Pass', + 'url': 'webapp/index.php?c=Pass&a=getPassReward', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class PassController(object): }, { 'desc': 'getWeekReward', - 'group': 'PassController', - 'url': 'webapp/index.php?c=PassController&a=getWeekReward', + 'group': 'Pass', + 'url': 'webapp/index.php?c=Pass&a=getWeekReward', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class PassController(object): }, { 'desc': 'getSeaReward', - 'group': 'PassController', - 'url': 'webapp/index.php?c=PassController&a=getSeaReward', + 'group': 'Pass', + 'url': 'webapp/index.php?c=Pass&a=getSeaReward', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class PassController(object): }, { 'desc': 'buyExp', - 'group': 'PassController', - 'url': 'webapp/index.php?c=PassController&a=buyExp', + 'group': 'Pass', + 'url': 'webapp/index.php?c=Pass&a=buyExp', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class PassController(object): }, { 'desc': 'getAllPassReward', - 'group': 'PassController', - 'url': 'webapp/index.php?c=PassController&a=getAllPassReward', + 'group': 'Pass', + 'url': 'webapp/index.php?c=Pass&a=getAllPassReward', 'params': [ _common.ReqHead(), ], diff --git a/doc/PayController.py b/doc/Pay.py similarity index 66% rename from doc/PayController.py rename to doc/Pay.py index 5f5aad1..8f11dcf 100644 --- a/doc/PayController.py +++ b/doc/Pay.py @@ -2,14 +2,14 @@ import _common -class PayController(object): +class Pay(object): def __init__(self): self.apis = [ { 'desc': 'getPayInfo', - 'group': 'PayController', - 'url': 'webapp/index.php?c=PayController&a=getPayInfo', + 'group': 'Pay', + 'url': 'webapp/index.php?c=Pay&a=getPayInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class PayController(object): }, { 'desc': 'getVipInfo', - 'group': 'PayController', - 'url': 'webapp/index.php?c=PayController&a=getVipInfo', + 'group': 'Pay', + 'url': 'webapp/index.php?c=Pay&a=getVipInfo', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class PayController(object): }, { 'desc': 'getVipReward', - 'group': 'PayController', - 'url': 'webapp/index.php?c=PayController&a=getVipReward', + 'group': 'Pay', + 'url': 'webapp/index.php?c=Pay&a=getVipReward', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class PayController(object): }, { 'desc': 'buyItem', - 'group': 'PayController', - 'url': 'webapp/index.php?c=PayController&a=buyItem', + 'group': 'Pay', + 'url': 'webapp/index.php?c=Pay&a=buyItem', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class PayController(object): }, { 'desc': 'getOrderInfo', - 'group': 'PayController', - 'url': 'webapp/index.php?c=PayController&a=getOrderInfo', + 'group': 'Pay', + 'url': 'webapp/index.php?c=Pay&a=getOrderInfo', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class PayController(object): }, { 'desc': 'addADtimes', - 'group': 'PayController', - 'url': 'webapp/index.php?c=PayController&a=addADtimes', + 'group': 'Pay', + 'url': 'webapp/index.php?c=Pay&a=addADtimes', 'params': [ _common.ReqHead(), ], diff --git a/doc/PayActivityController.py b/doc/PayActivity.py similarity index 62% rename from doc/PayActivityController.py rename to doc/PayActivity.py index 9df5a00..ef20fc0 100644 --- a/doc/PayActivityController.py +++ b/doc/PayActivity.py @@ -2,14 +2,14 @@ import _common -class PayActivityController(object): +class PayActivity(object): def __init__(self): self.apis = [ { 'desc': 'getExplode', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=getExplode', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=getExplode', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class PayActivityController(object): }, { 'desc': 'rechargeRmb', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=rechargeRmb', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=rechargeRmb', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class PayActivityController(object): }, { 'desc': 'rechargeBuy', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=rechargeBuy', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=rechargeBuy', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class PayActivityController(object): }, { 'desc': 'unlockPassCard', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=unlockPassCard', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=unlockPassCard', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class PayActivityController(object): }, { 'desc': 'recAcitivityInfo', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=recAcitivityInfo', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=recAcitivityInfo', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class PayActivityController(object): }, { 'desc': 'recAcitivityReward', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=recAcitivityReward', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=recAcitivityReward', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class PayActivityController(object): }, { 'desc': 'shareDiscount', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=shareDiscount', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=shareDiscount', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class PayActivityController(object): }, { 'desc': 'flushDiscountShop', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=flushDiscountShop', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=flushDiscountShop', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class PayActivityController(object): }, { 'desc': 'changeHeadKuang', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=changeHeadKuang', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=changeHeadKuang', 'params': [ _common.ReqHead(), ], @@ -107,8 +107,8 @@ class PayActivityController(object): }, { 'desc': 'addmailReward', - 'group': 'PayActivityController', - 'url': 'webapp/index.php?c=PayActivityController&a=addmailReward', + 'group': 'PayActivity', + 'url': 'webapp/index.php?c=PayActivity&a=addmailReward', 'params': [ _common.ReqHead(), ], diff --git a/doc/PayNotifyController.py b/doc/PayNotify.py similarity index 66% rename from doc/PayNotifyController.py rename to doc/PayNotify.py index 2e5b88d..fb84e65 100644 --- a/doc/PayNotifyController.py +++ b/doc/PayNotify.py @@ -2,14 +2,14 @@ import _common -class PayNotifyController(object): +class PayNotify(object): def __init__(self): self.apis = [ { 'desc': 'payNotify', - 'group': 'PayNotifyController', - 'url': 'webapp/index.php?c=PayNotifyController&a=payNotify', + 'group': 'PayNotify', + 'url': 'webapp/index.php?c=PayNotify&a=payNotify', 'params': [ _common.ReqHead(), ], diff --git a/doc/PropertyController.py b/doc/Property.py similarity index 64% rename from doc/PropertyController.py rename to doc/Property.py index ec7081c..972391c 100644 --- a/doc/PropertyController.py +++ b/doc/Property.py @@ -2,14 +2,14 @@ import _common -class PropertyController(object): +class Property(object): def __init__(self): self.apis = [ { 'desc': 'updateMoney', - 'group': 'PropertyController', - 'url': 'webapp/index.php?c=PropertyController&a=updateMoney', + 'group': 'Property', + 'url': 'webapp/index.php?c=Property&a=updateMoney', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class PropertyController(object): }, { 'desc': 'updateMoneyAndLottery', - 'group': 'PropertyController', - 'url': 'webapp/index.php?c=PropertyController&a=updateMoneyAndLottery', + 'group': 'Property', + 'url': 'webapp/index.php?c=Property&a=updateMoneyAndLottery', 'params': [ _common.ReqHead(), ], diff --git a/doc/QuestController.py b/doc/Quest.py similarity index 65% rename from doc/QuestController.py rename to doc/Quest.py index 385003a..6b556db 100644 --- a/doc/QuestController.py +++ b/doc/Quest.py @@ -2,14 +2,14 @@ import _common -class QuestController(object): +class Quest(object): def __init__(self): self.apis = [ { 'desc': 'questInfo', - 'group': 'QuestController', - 'url': 'webapp/index.php?c=QuestController&a=questInfo', + 'group': 'Quest', + 'url': 'webapp/index.php?c=Quest&a=questInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class QuestController(object): }, { 'desc': 'doubleQuestReward', - 'group': 'QuestController', - 'url': 'webapp/index.php?c=QuestController&a=doubleQuestReward', + 'group': 'Quest', + 'url': 'webapp/index.php?c=Quest&a=doubleQuestReward', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class QuestController(object): }, { 'desc': 'submitQuest', - 'group': 'QuestController', - 'url': 'webapp/index.php?c=QuestController&a=submitQuest', + 'group': 'Quest', + 'url': 'webapp/index.php?c=Quest&a=submitQuest', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class QuestController(object): }, { 'desc': 'addGuildTask', - 'group': 'QuestController', - 'url': 'webapp/index.php?c=QuestController&a=addGuildTask', + 'group': 'Quest', + 'url': 'webapp/index.php?c=Quest&a=addGuildTask', 'params': [ _common.ReqHead(), ], diff --git a/doc/RankController.py b/doc/Rank.py similarity index 68% rename from doc/RankController.py rename to doc/Rank.py index 2807611..27ac572 100644 --- a/doc/RankController.py +++ b/doc/Rank.py @@ -2,14 +2,14 @@ import _common -class RankController(object): +class Rank(object): def __init__(self): self.apis = [ { 'desc': 'rankInfo', - 'group': 'RankController', - 'url': 'webapp/index.php?c=RankController&a=rankInfo', + 'group': 'Rank', + 'url': 'webapp/index.php?c=Rank&a=rankInfo', 'params': [ _common.ReqHead(), ], diff --git a/doc/RoleController.py b/doc/Role.py similarity index 64% rename from doc/RoleController.py rename to doc/Role.py index 64d5e49..c91c01f 100644 --- a/doc/RoleController.py +++ b/doc/Role.py @@ -2,14 +2,14 @@ import _common -class RoleController(object): +class Role(object): def __init__(self): self.apis = [ { 'desc': 'roleInfo', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=roleInfo', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=roleInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class RoleController(object): }, { 'desc': 'addHeroToDB', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=addHeroToDB', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=addHeroToDB', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class RoleController(object): }, { 'desc': 'addAllHero', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=addAllHero', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=addAllHero', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class RoleController(object): }, { 'desc': 'addHeroSkin', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=addHeroSkin', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=addHeroSkin', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class RoleController(object): }, { 'desc': 'clientBattleReport', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=clientBattleReport', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=clientBattleReport', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class RoleController(object): }, { 'desc': 'battleReport', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=battleReport', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=battleReport', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class RoleController(object): }, { 'desc': 'bioBattleReport', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=bioBattleReport', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=bioBattleReport', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class RoleController(object): }, { 'desc': 'oldBattleReport', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=oldBattleReport', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=oldBattleReport', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class RoleController(object): }, { 'desc': 'historyRecord', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=historyRecord', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=historyRecord', 'params': [ _common.ReqHead(), ], @@ -107,8 +107,8 @@ class RoleController(object): }, { 'desc': 'shareGame', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=shareGame', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=shareGame', 'params': [ _common.ReqHead(), ], @@ -118,8 +118,8 @@ class RoleController(object): }, { 'desc': 'historyInfo', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=historyInfo', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=historyInfo', 'params': [ _common.ReqHead(), ], @@ -129,8 +129,8 @@ class RoleController(object): }, { 'desc': 'collectReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=collectReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=collectReward', 'params': [ _common.ReqHead(), ], @@ -140,8 +140,8 @@ class RoleController(object): }, { 'desc': 'collectDoubleReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=collectDoubleReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=collectDoubleReward', 'params': [ _common.ReqHead(), ], @@ -151,8 +151,8 @@ class RoleController(object): }, { 'desc': 'getPreSettlementInfo', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getPreSettlementInfo', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getPreSettlementInfo', 'params': [ _common.ReqHead(), ], @@ -162,8 +162,8 @@ class RoleController(object): }, { 'desc': 'getRobotInfo', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getRobotInfo', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getRobotInfo', 'params': [ _common.ReqHead(), ], @@ -173,8 +173,8 @@ class RoleController(object): }, { 'desc': 'getFightReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getFightReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getFightReward', 'params': [ _common.ReqHead(), ], @@ -184,8 +184,8 @@ class RoleController(object): }, { 'desc': 'getNewHandReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getNewHandReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getNewHandReward', 'params': [ _common.ReqHead(), ], @@ -195,8 +195,8 @@ class RoleController(object): }, { 'desc': 'getSessionId', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getSessionId', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getSessionId', 'params': [ _common.ReqHead(), ], @@ -206,8 +206,8 @@ class RoleController(object): }, { 'desc': 'exchangeCoin', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=exchangeCoin', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=exchangeCoin', 'params': [ _common.ReqHead(), ], @@ -217,8 +217,8 @@ class RoleController(object): }, { 'desc': 'saveNewbie', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=saveNewbie', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=saveNewbie', 'params': [ _common.ReqHead(), ], @@ -228,8 +228,8 @@ class RoleController(object): }, { 'desc': 'updateDailyAD', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=updateDailyAD', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=updateDailyAD', 'params': [ _common.ReqHead(), ], @@ -239,8 +239,8 @@ class RoleController(object): }, { 'desc': 'getVideoReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getVideoReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getVideoReward', 'params': [ _common.ReqHead(), ], @@ -250,8 +250,8 @@ class RoleController(object): }, { 'desc': 'getDeskReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getDeskReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getDeskReward', 'params': [ _common.ReqHead(), ], @@ -261,8 +261,8 @@ class RoleController(object): }, { 'desc': 'getShareVideoReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getShareVideoReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getShareVideoReward', 'params': [ _common.ReqHead(), ], @@ -272,8 +272,8 @@ class RoleController(object): }, { 'desc': 'getWatchAdReward', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getWatchAdReward', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getWatchAdReward', 'params': [ _common.ReqHead(), ], @@ -283,8 +283,8 @@ class RoleController(object): }, { 'desc': 'addVideotimes', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=addVideotimes', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=addVideotimes', 'params': [ _common.ReqHead(), ], @@ -294,8 +294,8 @@ class RoleController(object): }, { 'desc': 'getFightEquip', - 'group': 'RoleController', - 'url': 'webapp/index.php?c=RoleController&a=getFightEquip', + 'group': 'Role', + 'url': 'webapp/index.php?c=Role&a=getFightEquip', 'params': [ _common.ReqHead(), ], diff --git a/doc/ServerSwitchController.py b/doc/ServerSwitch.py similarity index 64% rename from doc/ServerSwitchController.py rename to doc/ServerSwitch.py index 0b9e6d6..6e52349 100644 --- a/doc/ServerSwitchController.py +++ b/doc/ServerSwitch.py @@ -2,14 +2,14 @@ import _common -class ServerSwitchController(object): +class ServerSwitch(object): def __init__(self): self.apis = [ { 'desc': 'getSwitch', - 'group': 'ServerSwitchController', - 'url': 'webapp/index.php?c=ServerSwitchController&a=getSwitch', + 'group': 'ServerSwitch', + 'url': 'webapp/index.php?c=ServerSwitch&a=getSwitch', 'params': [ _common.ReqHead(), ], diff --git a/doc/ShareController.py b/doc/Share.py similarity index 64% rename from doc/ShareController.py rename to doc/Share.py index 1392e85..ccaa949 100644 --- a/doc/ShareController.py +++ b/doc/Share.py @@ -2,14 +2,14 @@ import _common -class ShareController(object): +class Share(object): def __init__(self): self.apis = [ { 'desc': 'beeReward', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=beeReward', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=beeReward', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class ShareController(object): }, { 'desc': 'keyBoxInfo', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=keyBoxInfo', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=keyBoxInfo', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class ShareController(object): }, { 'desc': 'keyBoxDoubleReward', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=keyBoxDoubleReward', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=keyBoxDoubleReward', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class ShareController(object): }, { 'desc': 'shareFriendInfo', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=shareFriendInfo', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=shareFriendInfo', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class ShareController(object): }, { 'desc': 'shareFriendReward', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=shareFriendReward', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=shareFriendReward', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class ShareController(object): }, { 'desc': 'shareDobleReward', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=shareDobleReward', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=shareDobleReward', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class ShareController(object): }, { 'desc': 'getKefuReward', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=getKefuReward', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=getKefuReward', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class ShareController(object): }, { 'desc': 'kefuDoubleReward', - 'group': 'ShareController', - 'url': 'webapp/index.php?c=ShareController&a=kefuDoubleReward', + 'group': 'Share', + 'url': 'webapp/index.php?c=Share&a=kefuDoubleReward', 'params': [ _common.ReqHead(), ], diff --git a/doc/ShopController.py b/doc/Shop.py similarity index 65% rename from doc/ShopController.py rename to doc/Shop.py index 23823fb..b3860e4 100644 --- a/doc/ShopController.py +++ b/doc/Shop.py @@ -2,14 +2,14 @@ import _common -class ShopController(object): +class Shop(object): def __init__(self): self.apis = [ { 'desc': 'newShopInfo', - 'group': 'ShopController', - 'url': 'webapp/index.php?c=ShopController&a=newShopInfo', + 'group': 'Shop', + 'url': 'webapp/index.php?c=Shop&a=newShopInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class ShopController(object): }, { 'desc': 'flushShopItem', - 'group': 'ShopController', - 'url': 'webapp/index.php?c=ShopController&a=flushShopItem', + 'group': 'Shop', + 'url': 'webapp/index.php?c=Shop&a=flushShopItem', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class ShopController(object): }, { 'desc': 'newBuyShopItem', - 'group': 'ShopController', - 'url': 'webapp/index.php?c=ShopController&a=newBuyShopItem', + 'group': 'Shop', + 'url': 'webapp/index.php?c=Shop&a=newBuyShopItem', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class ShopController(object): }, { 'desc': 'shopBuyMore', - 'group': 'ShopController', - 'url': 'webapp/index.php?c=ShopController&a=shopBuyMore', + 'group': 'Shop', + 'url': 'webapp/index.php?c=Shop&a=shopBuyMore', 'params': [ _common.ReqHead(), ], diff --git a/doc/SignController.py b/doc/Sign.py similarity index 65% rename from doc/SignController.py rename to doc/Sign.py index 49ff90c..7e38d86 100644 --- a/doc/SignController.py +++ b/doc/Sign.py @@ -2,14 +2,14 @@ import _common -class SignController(object): +class Sign(object): def __init__(self): self.apis = [ { 'desc': 'signInfo', - 'group': 'SignController', - 'url': 'webapp/index.php?c=SignController&a=signInfo', + 'group': 'Sign', + 'url': 'webapp/index.php?c=Sign&a=signInfo', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class SignController(object): }, { 'desc': 'signReward', - 'group': 'SignController', - 'url': 'webapp/index.php?c=SignController&a=signReward', + 'group': 'Sign', + 'url': 'webapp/index.php?c=Sign&a=signReward', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class SignController(object): }, { 'desc': 'signDoubleReward', - 'group': 'SignController', - 'url': 'webapp/index.php?c=SignController&a=signDoubleReward', + 'group': 'Sign', + 'url': 'webapp/index.php?c=Sign&a=signDoubleReward', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class SignController(object): }, { 'desc': 'getSignOrder', - 'group': 'SignController', - 'url': 'webapp/index.php?c=SignController&a=getSignOrder', + 'group': 'Sign', + 'url': 'webapp/index.php?c=Sign&a=getSignOrder', 'params': [ _common.ReqHead(), ], diff --git a/doc/TeamController.py b/doc/Team.py similarity index 65% rename from doc/TeamController.py rename to doc/Team.py index f0450cc..fd57f57 100644 --- a/doc/TeamController.py +++ b/doc/Team.py @@ -2,14 +2,14 @@ import _common -class TeamController(object): +class Team(object): def __init__(self): self.apis = [ { 'desc': 'createTeam', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=createTeam', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=createTeam', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class TeamController(object): }, { 'desc': 'resetRoom', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=resetRoom', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=resetRoom', 'params': [ _common.ReqHead(), ], @@ -30,8 +30,8 @@ class TeamController(object): }, { 'desc': 'teamInfo', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=teamInfo', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=teamInfo', 'params': [ _common.ReqHead(), ], @@ -41,8 +41,8 @@ class TeamController(object): }, { 'desc': 'getSelectHeroTeamInfo', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=getSelectHeroTeamInfo', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=getSelectHeroTeamInfo', 'params': [ _common.ReqHead(), ], @@ -52,8 +52,8 @@ class TeamController(object): }, { 'desc': 'selectHero', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=selectHero', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=selectHero', 'params': [ _common.ReqHead(), ], @@ -63,8 +63,8 @@ class TeamController(object): }, { 'desc': 'readyGame', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=readyGame', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=readyGame', 'params': [ _common.ReqHead(), ], @@ -74,8 +74,8 @@ class TeamController(object): }, { 'desc': 'joinTeam', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=joinTeam', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=joinTeam', 'params': [ _common.ReqHead(), ], @@ -85,8 +85,8 @@ class TeamController(object): }, { 'desc': 'kickoutMember', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=kickoutMember', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=kickoutMember', 'params': [ _common.ReqHead(), ], @@ -96,8 +96,8 @@ class TeamController(object): }, { 'desc': 'leaveTeam', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=leaveTeam', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=leaveTeam', 'params': [ _common.ReqHead(), ], @@ -107,8 +107,8 @@ class TeamController(object): }, { 'desc': 'updateTeam', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=updateTeam', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=updateTeam', 'params': [ _common.ReqHead(), ], @@ -118,8 +118,8 @@ class TeamController(object): }, { 'desc': 'startGame', - 'group': 'TeamController', - 'url': 'webapp/index.php?c=TeamController&a=startGame', + 'group': 'Team', + 'url': 'webapp/index.php?c=Team&a=startGame', 'params': [ _common.ReqHead(), ], diff --git a/doc/TempController.py b/doc/Temp.py similarity index 68% rename from doc/TempController.py rename to doc/Temp.py index 9fbad32..a0fa2e4 100644 --- a/doc/TempController.py +++ b/doc/Temp.py @@ -2,14 +2,14 @@ import _common -class TempController(object): +class Temp(object): def __init__(self): self.apis = [ { 'desc': 'getRedSum', - 'group': 'TempController', - 'url': 'webapp/index.php?c=TempController&a=getRedSum', + 'group': 'Temp', + 'url': 'webapp/index.php?c=Temp&a=getRedSum', 'params': [ _common.ReqHead(), ], diff --git a/doc/TestPhp.py b/doc/TestPhp.py deleted file mode 100644 index e79cc4f..0000000 --- a/doc/TestPhp.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- - -import _common - -class TestPhp(object): - - def __init__(self): - self.apis = [ - { - 'desc': 'testPhpFunc', - 'group': 'TestPhp', - 'url': 'webapp/index.php?c=TestPhp&a=testPhpFunc', - 'params': [ - _common.ReqHead(), - ], - 'response': [ - _common.RspHead(), - ] - }, - ] diff --git a/doc/TestPhpController.py b/doc/TestPhpController.py deleted file mode 100644 index 0e25203..0000000 --- a/doc/TestPhpController.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- - -import _common - -class TestPhpController(object): - - def __init__(self): - self.apis = [ - { - 'desc': 'testPhpFunc', - 'group': 'TestPhpController', - 'url': 'webapp/index.php?c=TestPhpController&a=testPhpFunc', - 'params': [ - _common.ReqHead(), - ], - 'response': [ - _common.RspHead(), - ] - }, - { - 'desc': 'testPhpFunc2', - 'group': 'TestPhpController', - 'url': 'webapp/index.php?c=TestPhpController&a=testPhpFunc2', - 'params': [ - _common.ReqHead(), - ], - 'response': [ - _common.RspHead(), - ] - }, - ] diff --git a/doc/VoiceController.py b/doc/Voice.py similarity index 66% rename from doc/VoiceController.py rename to doc/Voice.py index 4f27814..9b9d44f 100644 --- a/doc/VoiceController.py +++ b/doc/Voice.py @@ -2,14 +2,14 @@ import _common -class VoiceController(object): +class Voice(object): def __init__(self): self.apis = [ { 'desc': 'upload', - 'group': 'VoiceController', - 'url': 'webapp/index.php?c=VoiceController&a=upload', + 'group': 'Voice', + 'url': 'webapp/index.php?c=Voice&a=upload', 'params': [ _common.ReqHead(), ], @@ -19,8 +19,8 @@ class VoiceController(object): }, { 'desc': 'download', - 'group': 'VoiceController', - 'url': 'webapp/index.php?c=VoiceController&a=download', + 'group': 'Voice', + 'url': 'webapp/index.php?c=Voice&a=download', 'params': [ _common.ReqHead(), ],