diff --git a/third_party/phpcommon b/third_party/phpcommon index 55e2f9de..85b467ba 160000 --- a/third_party/phpcommon +++ b/third_party/phpcommon @@ -1 +1 @@ -Subproject commit 55e2f9deb1eb1eede1e8c390c7bd166528632e8a +Subproject commit 85b467ba2eca1f843f0f988823741c0d00b2724d diff --git a/webapp/controller/ToolsController.class.php b/webapp/controller/ToolsController.class.php index ad9d9b90..225a21a7 100644 --- a/webapp/controller/ToolsController.class.php +++ b/webapp/controller/ToolsController.class.php @@ -103,6 +103,18 @@ class ToolsController extends BaseController { myself()->_rspOk(); } + public function isSameSeriesAccount() + { + $accountId1 = getReqVal('account_id1', ''); + $accountId2 = getReqVal('account_id2', ''); + error_log(phpcommon\extractOpenId($accountId1)); + error_log(phpcommon\extractRealOpenId(phpcommon\extractOpenId($accountId1))); + error_log($accountId1 . ' **** ' . $accountId2 . ' ' . + phpcommon\isSameSeriesAccount($accountId1, $accountId2)); + myself()->_rspData(array( + + )); + } private function writeToFile($fileName, $data) {