Commit 7aae19d0 authored by hujun's avatar hujun

image_url

parent 9f4246d7
...@@ -56,10 +56,10 @@ class UploadImg extends Basic ...@@ -56,10 +56,10 @@ class UploadImg extends Basic
$type = request()->param('type'); $type = request()->param('type');
$uploadResult = $this->uFService->upload($file, $type); $uploadResult = $this->uFService->upload($file, $type);
if (CURRENT_URL == 'https://images.tonglianjituan.com/') { if (CURRENT_URL == 'https://pre2.tonglianjituan.com/') {
$path = IMAGES_URL;
} else {
$path = 'https://pre2.tonglianjituan.com/'; $path = 'https://pre2.tonglianjituan.com/';
} else {
$path = IMAGES_URL;
} }
switch ($type) { switch ($type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment