Commit 1935c197 authored by hujun's avatar hujun

/

parent 7c1c22c1
......@@ -61,7 +61,7 @@ class UploadImg extends Basic
$type = request()->param('type');
$uploadResult = $this->uFService->upload($file, $type);
if (CURRENT_URL == 'https://api.tonglianjituan.com') {
if (CURRENT_URL == 'https://api.tonglianjituan.com/') {
$path = IMAGES_URL;
} else {
$path = 'https://pre2.tonglianjituan.com/';
......
......@@ -56,7 +56,7 @@ class UploadImg extends Basic
$type = request()->param('type');
$uploadResult = $this->uFService->upload($file, $type);
if (CURRENT_URL == 'https://api.tonglianjituan.com') {
if (CURRENT_URL == 'https://api.tonglianjituan.com/') {
$path = IMAGES_URL;
} else {
$path = 'https://pre2.tonglianjituan.com/';
......
......@@ -324,7 +324,7 @@
<div class="" style="width: 100%;">
<div class="input-group" style="width: 100%;" id="dajiangtang">
<?php
if (CURRENT_URL == 'https://api.tonglianjituan.com') {
if (CURRENT_URL == 'https://api.tonglianjituan.com/') {
$url = IMAGES_URL;
} else {
$url = 'https://pre2.tonglianjituan.com/';
......
......@@ -283,7 +283,7 @@
<div class="input-group" style="width: 100%;" id="dajiangtang">
<?php
if (CURRENT_URL == 'https://api.tonglianjituan.com') {
if (CURRENT_URL == 'https://api.tonglianjituan.com/') {
$url = IMAGES_URL;
} else {
$url = 'https://pre2.tonglianjituan.com/';
......
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