Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
9 years ago
Commit
5eee6b1e7c8a3b3f9c753f7109ee964062508a35
1 parent
f7a987f3
cart 方法
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
View file @
5eee6b1
...
...
@@ -694,7 +694,7 @@ class CartModel
/* 调接口订单确认接口 */
$pay
=
CartData
::
cartPay
(
$uid
,
$cartType
);
return
self
::
filterCartPay
(
$pay
,
$cartType
,
$isAdvanceCart
);
return
self
::
filterCartPay
(
$pay
,
$cartType
,
$isAdvanceCart
,
$uid
);
}
/**
* 处理购物车返回
...
...
@@ -703,15 +703,13 @@ class CartModel
* @param bool $isAdvanceCart 是否是预售商品列表
* @return type []
*/
private
static
function
filterCartPay
(
$pay
,
$cartType
,
$isAdvanceCart
)
private
static
function
filterCartPay
(
$pay
,
$cartType
,
$isAdvanceCart
,
$uid
)
{
// 存放分析用的数据
$analysisData
=
array
(
'ipinyou'
=>
''
);
$result
=
array
();
do
{
/* 调接口订单确认接口 */
$pay
=
CartData
::
cartPay
(
$uid
,
$cartType
);
//获取用户手机号码用于发票接收人
$userInfo
=
UserData
::
getUserInfo
(
$uid
);
...
...
Please
register
or
login
to post a comment