From cbde87914fd5b3bbd8bdd9a664ed293e4eb9e73e Mon Sep 17 00:00:00 2001 From: Dove Chen Date: Mon, 1 Aug 2022 09:50:42 +0800 Subject: [PATCH] Fix params check rule --- Work.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/Work.php b/Work.php index 064473d..1f5e3d1 100644 --- a/Work.php +++ b/Work.php @@ -2018,7 +2018,6 @@ public function getMomentId ($job_id) public function openuseridToUserid ($openUseridList, $sourceAgentid) { Utils::checkNotEmptyArray($openUseridList, 'open_userid_list'); - Utils::checkNotEmptyStr($sourceAgentid, 'source_agentid'); self::_HttpCall(self::OPENUSERID_TO_USERID, 'POST', ['open_userid_list' => $openUseridList, 'source_agentid' => $sourceAgentid]); return $this->repJson; @@ -2041,7 +2040,6 @@ public function openuseridToUserid ($openUseridList, $sourceAgentid) public function fromServiceExternalUserid ($externalUserid, $sourceAgentid) { Utils::checkNotEmptyStr($externalUserid, 'external_userid'); - Utils::checkNotEmptyStr($sourceAgentid, 'source_agentid'); self::_HttpCall(self::FROM_SERVICE_EXTERNAL_USERID, 'POST', ['external_userid' => $externalUserid, 'source_agentid' => $sourceAgentid]); return $this->repJson;