From e6851ab5499c49af91114766f1e8ea7137c0db31 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 23 Nov 2021 12:07:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4shareGame?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/Role.py | 11 ----------- webapp/controller/RoleController.class.php | 12 ------------ 2 files changed, 23 deletions(-) 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'];