Array ( [appid] => wx4e1a7d31cef2c476 )
{“appid”:“wx4e1a7d31cef2c476”}
那爲什麼post提交還是沒有傳值給到微信服務器了,竟然原因是沒有json加密再傳過去。
$account_api = WeAccount::create();
$token = $account_api->getAccessToken();
$url = "https://api.weixin.qq.com/cgi-bin/clear_quota?access_token={$token}";
load()->func('communication');
$data = array(
'appid' =>$_W['oauth_account']['key']
);
$data = json_encode( $data );