yingzi 2 년 전
부모
커밋
a75277bca4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      library/utils/Qiniu.php

+ 2 - 2
library/utils/Qiniu.php

@@ -60,8 +60,8 @@ class Qiniu {
      * @param type $img
      */
     public function imageDelete($img=""){
-        $img = str_replace("http://media.lolitaapp.com/","", $img);
-        $img = str_replace("https://media.lolitaapp.com/","", $img);
+        $img = str_replace("http://upload.myjie.cn/","", $img);
+        $img = str_replace("https://upload.myjie.cn/","", $img);
         $config = new ServerConfig();
         $bucketManager = new BucketManager($this->qiniu, $config);
         $err = $bucketManager->delete($this->config['bucket'], $img);