Commit 8768b234 authored by fuyunnan's avatar fuyunnan
Browse files

去除shopify的版本号 模糊匹配直接加关键字

parent 34eebd2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ class Drawer
    public function downLoadImgWebpChannel($url, $path = '')
    {
        //如果shopify 去掉版本号
        if (strpos($url, 'cdn.shopify.com') !== false) {
        if (strpos($url, 'shopify') !== false) {
            $url = substr($url, 0, strpos($url, '?v='));
        }
        $savePath = $this->rootPath . '/download/images/' . ($path ? $path . '/' : $this->savePath);