Skip to content

Commit

Permalink
现金红包(B2C)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemao authored Jun 1, 2020
1 parent f01d09a commit 624a370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions b2c.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function sendRedPacket()
);

$commonConfigs["sign"] = $this->generateSign($commonConfigs, $commonConfigs['sign_type']);
$result = $this->curlPost('https://openapi.alipay.com/gateway.do',$commonConfigs);
$result = $this->curlPost('https://openapi.alipay.com/gateway.do?charset='.$this->charset,$commonConfigs);
return json_decode($result,true);
}

Expand Down Expand Up @@ -207,4 +207,4 @@ public function curlPost($url = '', $postData = '', $options = array())
curl_close($ch);
return $data;
}
}
}

0 comments on commit 624a370

Please sign in to comment.