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
9 years ago
Commit
5994e5c2a398a445e5211353c0dcc72f8b7e23e5
1 parent
c0db65ff
修复友盟quy_union参数未传递的bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
library/LibModels/Wap/Home/CartData.php
library/LibModels/Wap/Home/CartData.php
View file @
5994e5c
...
...
@@ -373,10 +373,11 @@ class CartData
* @param string $couponCode 优惠券码
* @param mixed $yohoCoin 使用的YOHO币数量或为空
* @param string $skuList 购买限购商品时需要传递的参数
* @param string $qhyUnion 友盟有关信息
* @param string|null $userAgent 联盟过来用户下单时需要的User-Agent信息
* @return array 接口返回的数据
*/
public
static
function
orderSub
(
$uid
,
$addressId
,
$cartType
,
$deliveryTime
,
$deliveryWay
,
$invoiceTitle
,
$invoiceId
,
$paymentId
,
$paymentType
,
$remark
,
$couponCode
,
$yohoCoin
,
$skuList
,
$userAgent
)
public
static
function
orderSub
(
$uid
,
$addressId
,
$cartType
,
$deliveryTime
,
$deliveryWay
,
$invoiceTitle
,
$invoiceId
,
$paymentId
,
$paymentType
,
$remark
,
$couponCode
,
$yohoCoin
,
$skuList
,
$
qhyUnion
,
$
userAgent
)
{
$param
=
Yohobuy
::
param
();
$param
[
'debug'
]
=
'Y'
;
...
...
@@ -409,6 +410,11 @@ class CartData
$param
[
'product_sku_list'
]
=
$skuList
;
}
// 友盟有关信息的传递
if
(
!
empty
(
$qhyUnion
))
{
$param
[
'qhy_union'
]
=
$qhyUnion
;
}
$param
[
'uid'
]
=
$uid
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
...
...
Please
register
or
login
to post a comment