Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
1935c197
Commit
1935c197
authored
Feb 20, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
/
parent
7c1c22c1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
UploadImg.php
application/api_broker/controller/UploadImg.php
+1
-1
UploadImg.php
application/index/controller/UploadImg.php
+1
-1
new_text.html
application/index/view/news/new_text.html
+1
-1
add_notice_view.html
application/index/view/notice/add_notice_view.html
+1
-1
No files found.
application/api_broker/controller/UploadImg.php
View file @
1935c197
...
@@ -61,7 +61,7 @@ class UploadImg extends Basic
...
@@ -61,7 +61,7 @@ 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://api.tonglianjituan.com'
)
{
if
(
CURRENT_URL
==
'https://api.tonglianjituan.com
/
'
)
{
$path
=
IMAGES_URL
;
$path
=
IMAGES_URL
;
}
else
{
}
else
{
$path
=
'https://pre2.tonglianjituan.com/'
;
$path
=
'https://pre2.tonglianjituan.com/'
;
...
...
application/index/controller/UploadImg.php
View file @
1935c197
...
@@ -56,7 +56,7 @@ class UploadImg extends Basic
...
@@ -56,7 +56,7 @@ 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://api.tonglianjituan.com'
)
{
if
(
CURRENT_URL
==
'https://api.tonglianjituan.com
/
'
)
{
$path
=
IMAGES_URL
;
$path
=
IMAGES_URL
;
}
else
{
}
else
{
$path
=
'https://pre2.tonglianjituan.com/'
;
$path
=
'https://pre2.tonglianjituan.com/'
;
...
...
application/index/view/news/new_text.html
View file @
1935c197
...
@@ -324,7 +324,7 @@
...
@@ -324,7 +324,7 @@
<div
class=
""
style=
"width: 100%;"
>
<div
class=
""
style=
"width: 100%;"
>
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<?php
<?php
if (CURRENT_URL == 'https://api.tonglianjituan.com') {
if (CURRENT_URL == 'https://api.tonglianjituan.com
/
') {
$url = IMAGES_URL;
$url = IMAGES_URL;
} else {
} else {
$url = 'https://pre2.tonglianjituan.com/';
$url = 'https://pre2.tonglianjituan.com/';
...
...
application/index/view/notice/add_notice_view.html
View file @
1935c197
...
@@ -283,7 +283,7 @@
...
@@ -283,7 +283,7 @@
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<?php
<?php
if (CURRENT_URL == 'https://api.tonglianjituan.com') {
if (CURRENT_URL == 'https://api.tonglianjituan.com
/
') {
$url = IMAGES_URL;
$url = IMAGES_URL;
} else {
} else {
$url = 'https://pre2.tonglianjituan.com/';
$url = 'https://pre2.tonglianjituan.com/';
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment