diff --git a/doc/Role.py b/doc/Role.py index 0c76dba3..ec8f7928 100644 --- a/doc/Role.py +++ b/doc/Role.py @@ -61,17 +61,6 @@ class Role(object): _common.RspHead(), ] }, - { - 'desc': 'shareGame', - 'group': 'Role', - 'url': 'webapp/index.php?c=Role&a=shareGame', - 'params': [ - _common.ReqHead(), - ], - 'response': [ - _common.RspHead(), - ] - }, { 'desc': 'getPreSettlementInfo', 'group': 'Role', diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index 659fcddb..56a7b07f 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -343,18 +343,6 @@ class RoleController extends BaseAuthedController { )); } - public function shareGame() - { - $account_id = $_REQUEST['account_id']; - $conn = $this->getMysql($account_id); - // $quest = new classes\Quest(); - // $quest->triggerQuest(QUEST_DAY_SHARE, 1, 1, $account_id); - echo json_encode(array( - 'errcode' => 0, - 'errmsg' => '', - )); - } - public function getPreSettlementInfo() { $account_id = $_REQUEST['account_id'];