Ver Fonte

取消图片压缩

Silent há 7 anos atrás
pai
commit
8cff644c50
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      app/Services/Base/Attachment.php
  2. 1 1
      wechat/utils/api.js

+ 1 - 1
app/Services/Base/Attachment.php

xqd
@@ -212,7 +212,7 @@ class Attachment
                         $sizey = $source_height*($sizex/$source_width);
                     }
                     \Log::info('$sizex'.$sizex.'$sizey'.$sizey);
-                    Image::make($real_path)->resize($sizex, $sizey)->save($real_path);
+//                    Image::make($real_path)->resize($sizex, $sizey)->save($real_path);
                 }
             }
 

+ 1 - 1
wechat/utils/api.js

xqd
@@ -1,4 +1,4 @@
-const headUrl = 'https://t20.9026.com/wechat/';
+const headUrl = 'https://wechat.piano-time.com/wechat/';
 
 module.exports = {
   isTest: false,