|
@@ -1134,7 +1134,7 @@ class CommonFn
|
|
|
}
|
|
|
|
|
|
|
|
|
- public static function sendWxMessage($data,$res){
|
|
|
+ public static function sendWxMessage($data){
|
|
|
// 环境检查
|
|
|
$res = file_get_contents('https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=wx9a632fd8918d1a48&secret=1d21b873c19a36b200cf1d0bb1e9aa26');
|
|
|
|
|
@@ -1147,7 +1147,6 @@ class CommonFn
|
|
|
if (!$json || !empty($json['errcode']) || $json['errcode']!=0) {
|
|
|
return false;
|
|
|
}
|
|
|
- CommonFn::requestAjax(true,'success',json_decode($res),200,array());
|
|
|
return $json;
|
|
|
}
|
|
|
return false;
|