Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
2015-12-07 17:16:21 +0800
Commit
bd4635522a5daf063776e4263b02db7bca371164
1 parent
03c47140
修复new和sale页面图片会有白边的bug
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
library/Plugin/DataProcess/NewSaleProcess.php
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
library/Plugin/DataProcess/NewSaleProcess.php
View file @
bd46355
...
...
@@ -43,7 +43,7 @@ class NewSaleProcess
// 处理商品
if
(
isset
(
$products
[
'product_list'
]))
{
foreach
(
$products
[
'product_list'
]
as
$single
)
{
$result
[
'goods'
][]
=
Helpers
::
formatProduct
(
$single
,
true
,
false
,
false
,
2
90
,
388
);
$result
[
'goods'
][]
=
Helpers
::
formatProduct
(
$single
,
true
,
false
,
false
,
2
35
,
314
);
}
}
...
...
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
View file @
bd46355
...
...
@@ -219,7 +219,7 @@ class NewsaleModel
if
(
isset
(
$data
[
'code'
])
&&
$data
[
'code'
]
===
200
&&
isset
(
$data
[
'data'
][
'product_list'
]))
{
foreach
(
$data
[
'data'
][
'product_list'
]
as
$val
)
{
$result
[
'goods'
][]
=
Helpers
::
formatProduct
(
$val
,
true
,
false
,
false
,
2
99
,
388
);
$result
[
'goods'
][]
=
Helpers
::
formatProduct
(
$val
,
true
,
false
,
false
,
2
35
,
314
);
}
}
...
...
Please
register
or
login
to post a comment