Skip to content

Commit

Permalink
取消按引用返回数据
Browse files Browse the repository at this point in the history
  • Loading branch information
SiZhe committed Sep 20, 2018
1 parent 5d45f50 commit cd47b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DingtalkEapp.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getSuiteTicket($suiteKey) {
return 'temp_suite_ticket_only4_test';
}

public function DecryptMsg($signature, $timeStamp, $nonce, $postdata, &$decryptMsg) {
public function DecryptMsg($signature, $timeStamp, $nonce, $postdata) {
$postList = json_decode($postdata,true);
$encrypt = $postList['encrypt'];

Expand All @@ -81,7 +81,7 @@ public function DecryptMsg($signature, $timeStamp, $nonce, $postdata, &$decryptM
return $errCode;
}

public function EncryptMsg($res, $timeStamp, $nonce, $encryptMsg) {
public function EncryptMsg($res, $timeStamp, $nonce) {
$crypt = new DingtalkCrypt($this->token, $this->encodingAesKey, $this->suiteKey);
$errCode = $crypt->EncryptMsg($res, $timeStamp, $nonce, $encryptMsg);
return $errCode;
Expand Down

0 comments on commit cd47b06

Please sign in to comment.