浏览代码

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

ZhengWeiDong 8 年之前
父节点
当前提交
32447fd61c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);