Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
hf
9 years ago
Commit
b9086d3ae068647af2b206a08b3bed8e8e576571
1 parent
14733b5f
modify call appp.Shopping.submit client type
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
library/Api/Yohobuy.php
library/LibModels/Wap/Home/CartData.php
library/Api/Yohobuy.php
View file @
b9086d3
...
...
@@ -47,7 +47,7 @@ class Yohobuy
*
* @var array
*/
p
rivate
static
$privateKeyList
=
array
(
p
ublic
static
$privateKeyList
=
array
(
'android'
=>
'fd4ad5fcfa0de589ef238c0e7331b585'
,
'iphone'
=>
'a85bb0674e08986c6b115d5e3a4884fa'
,
'ipad'
=>
'ad9fcda2e679cf9229e37feae2cdcf80'
,
...
...
library/LibModels/Wap/Home/CartData.php
View file @
b9086d3
...
...
@@ -350,7 +350,8 @@ class CartData
{
$param
=
Yohobuy
::
param
();
$param
[
'debug'
]
=
'Y'
;
$param
[
'client_type'
]
=
'h5'
;
$param
[
'client_type'
]
=
'h5'
;
// 需要ERP统计WAP的下单量
$param
[
'private_key'
]
=
Yohobuy
::
$privateKeyList
[
'android'
];
// H5默认使用Android的私钥
$param
[
'method'
]
=
'app.Shopping.submit'
;
$param
[
'address_id'
]
=
$addressId
;
$param
[
'cart_type'
]
=
$cartType
;
...
...
Please
register
or
login
to post a comment