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
08280153
Commit
08280153
authored
Feb 15, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IMAGES_URL
parent
fc6c91b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ImageDepot.php
application/index/controller/ImageDepot.php
+2
-2
No files found.
application/index/controller/ImageDepot.php
View file @
08280153
...
@@ -121,7 +121,7 @@ class ImageDepot extends Basic
...
@@ -121,7 +121,7 @@ class ImageDepot extends Basic
$res_total
=
$this
->
imageDepot
->
getImageDepotListTotal
(
$params_
);
$res_total
=
$this
->
imageDepot
->
getImageDepotListTotal
(
$params_
);
foreach
(
$res
as
$k
=>
$v
)
foreach
(
$res
as
$k
=>
$v
)
{
{
$res
[
$k
][
'img_file_path'
]
=
CURRENT
_URL
.
'static/shop_image_depot/'
.
$v
[
'img_name'
];;
$res
[
$k
][
'img_file_path'
]
=
IMAGES
_URL
.
'static/shop_image_depot/'
.
$v
[
'img_name'
];;
}
}
$data
[
'total'
]
=
$res_total
;
$data
[
'total'
]
=
$res_total
;
...
@@ -150,7 +150,7 @@ class ImageDepot extends Basic
...
@@ -150,7 +150,7 @@ class ImageDepot extends Basic
if
(
!
$res
){
if
(
!
$res
){
return
$this
->
response
(
"101"
,
"查无数据"
);
return
$this
->
response
(
"101"
,
"查无数据"
);
}
}
$res
[
0
][
'img_file_path'
]
=
CURRENT
_URL
.
'static/shop_image_depot/'
.
$res
[
'img_name'
];
$res
[
0
][
'img_file_path'
]
=
IMAGES
_URL
.
'static/shop_image_depot/'
.
$res
[
'img_name'
];
$data
[
'list'
]
=
$res
[
0
];
$data
[
'list'
]
=
$res
[
0
];
return
$this
->
response
(
"200"
,
"成功"
,
$data
);
return
$this
->
response
(
"200"
,
"成功"
,
$data
);
}
}
...
...
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