Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
tangwch committed Oct 10, 2019
1 parent c20d787 commit af5a4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_new.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function getSign($data, $secret) {
$post_data['sign'] = getSign($post_data, $appSecret);
$jsonStr = json_encode($post_data);
curl_setopt($curl, CURLOPT_POSTFIELDS, $jsonStr);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json; charset=utf-8',
'Content-Length: ' . strlen($jsonStr)
)
Expand Down

0 comments on commit af5a4be

Please sign in to comment.