Skip to content

Commit

Permalink
Fix params check rule
Browse files Browse the repository at this point in the history
  • Loading branch information
DoveChen committed Aug 1, 2022
1 parent aa4aee9 commit cbde879
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Work.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit cbde879

Please sign in to comment.