From b599b999a5ffa4ae2136dbe112c16bda28012ada Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 10 Aug 2023 16:15:08 +0800 Subject: [PATCH] 1 --- third_party/phpcommon | 2 +- webapp/controller/ToolsController.class.php | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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) {