...
|
...
|
@@ -243,6 +243,8 @@ class SalesmangoodsController extends WeChatBaseController{ |
|
|
$url = "http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=$access_token&media_id=$filepath";
|
|
|
// $file = file_get_contents("http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=$access_token&media_id=$filepath");
|
|
|
$file = $this->httpGet($url);
|
|
|
dump($file);
|
|
|
exit();
|
|
|
file_put_contents($targetName,$file);
|
|
|
$msg["filename"] = '/'.$str;
|
|
|
return json_encode($msg);
|
...
|
...
|
|