正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -232,7 +232,7 @@ class SalesmangoodsController extends WeChatBaseController{ | @@ -232,7 +232,7 @@ class SalesmangoodsController extends WeChatBaseController{ | ||
232 | cache('msgssss',$targetName); | 232 | cache('msgssss',$targetName); |
233 | $ch = curl_init("http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=$access_token&media_id=$filepath"); | 233 | $ch = curl_init("http://file.api.weixin.qq.com/cgi-bin/media/get?access_token=$access_token&media_id=$filepath"); |
234 | cache('a1',1111); | 234 | cache('a1',1111); |
235 | - $fp = fopen($targetName, 'wb'); | 235 | + $fp = fopen($targetName, 'w'); |
236 | cache('a2',2222); | 236 | cache('a2',2222); |
237 | curl_setopt($ch, CURLOPT_FILE, $fp); | 237 | curl_setopt($ch, CURLOPT_FILE, $fp); |
238 | cache('a3',3333); | 238 | cache('a3',3333); |
-
请 注册 或 登录 后发表评论