Browse Source

修正上传在摇一摇页面展示的图片素材接口地址错误

ZhengWeiDong 8 years ago
parent
commit
32447fd61c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wechat.class.php

+ 1 - 1
wechat.class.php

@@ -3838,7 +3838,7 @@ class Wechat
      */
     public function uploadShakeAroundMedia($data){
         if (!$this->access_token && !$this->checkAuth()) return false;
-        $result = $this->http_post(self::API_URL_PREFIX.self::SHAKEAROUND_MATERIAL_ADD.'access_token='.$this->access_token,$data,true);
+        $result = $this->http_post(self::API_BASE_URL_PREFIX.self::SHAKEAROUND_MATERIAL_ADD.'access_token='.$this->access_token,$data,true);
         if ($result)
         {
             $json = json_decode($result,true);