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
yangyang
9 years ago
Commit
127d9ee6f93ac5e968aa76cdd11150ef11d287b8
1 parent
519a93de
增加Promotion字段
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
library/LibModels/Wap/Home/CartData.php
library/Plugin/Helpers.php
library/LibModels/Wap/Home/CartData.php
View file @
127d9ee
...
...
@@ -64,7 +64,6 @@ class CartData
$param
=
Yohobuy
::
param
();
$param
[
'method'
]
=
'app.Shopping.selected'
;
$param
[
'product_sku_list'
]
=
$sku
;
if
(
!
empty
(
$uid
))
{
$param
[
'uid'
]
=
$uid
;
}
...
...
library/Plugin/Helpers.php
View file @
127d9ee
...
...
@@ -634,6 +634,7 @@ class Helpers
$oneGoods
[
'price'
]
=
self
::
transPrice
(
$value
[
'last_vip_price'
]);
$oneGoods
[
'isVipPrice'
]
=
$value
[
'sales_price'
]
!==
$value
[
'last_vip_price'
];
$oneGoods
[
'count'
]
=
$value
[
'buy_number'
];
$oneGoods
[
'promotion_id'
]
=
$value
[
'promotion_id'
];
if
(
$isValid
)
{
// 库存不足
...
...
Please
register
or
login
to post a comment