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
d0be7d42
Commit
d0be7d42
authored
Nov 14, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片路径
parent
d3169865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Shop.php
application/api/controller/Shop.php
+3
-1
No files found.
application/api/controller/Shop.php
View file @
d0be7d42
...
@@ -355,8 +355,9 @@ class Shop extends Basic
...
@@ -355,8 +355,9 @@ class Shop extends Basic
if
(
$result
[
"external_slotting_fee"
]
!=
'-1'
)
{
if
(
$result
[
"external_slotting_fee"
]
!=
'-1'
)
{
$result
[
"external_slotting_fee"
]
=
$result
[
"external_slotting_fee"
]
*
0.01
;
$result
[
"external_slotting_fee"
]
=
$result
[
"external_slotting_fee"
]
*
0.01
;
}
}
$result
[
"api_path"
]
=
SHOP_IMAGE_DEPOT_URL
;
if
(
empty
(
$result
[
'is_show_image'
]))
{
if
(
empty
(
$result
[
'is_show_image'
]))
{
$result
[
"api_path"
]
=
SHOP_IMAGE_DEPOT_URL
;
$result
[
"images"
]
=
[];
$result
[
"images"
]
=
[];
if
(
$result
[
"external_image_id"
])
{
if
(
$result
[
"external_image_id"
])
{
$param
[
"id"
]
=
array
(
"in"
,
$result
[
"external_image_id"
]);
$param
[
"id"
]
=
array
(
"in"
,
$result
[
"external_image_id"
]);
...
@@ -366,6 +367,7 @@ class Shop extends Basic
...
@@ -366,6 +367,7 @@ class Shop extends Basic
$result
[
"images"
]
=
count
(
$res
)
>
0
?
$res
:
[];
$result
[
"images"
]
=
count
(
$res
)
>
0
?
$res
:
[];
}
}
}
else
{
}
else
{
$result
[
"api_path"
]
=
CK_IMG_URL
.
'images/'
;
$param
[
"house_id"
]
=
$params
[
'id'
];
$param
[
"house_id"
]
=
$params
[
'id'
];
//todo 这里的是否要更改成b端后台上传的类型
//todo 这里的是否要更改成b端后台上传的类型
$param
[
"img_type"
]
=
2
;
$param
[
"img_type"
]
=
2
;
...
...
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