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