Authored by hf

modify call appp.Shopping.submit client type

... ... @@ -47,7 +47,7 @@ class Yohobuy
*
* @var array
*/
private static $privateKeyList = array(
public static $privateKeyList = array(
'android' => 'fd4ad5fcfa0de589ef238c0e7331b585',
'iphone' => 'a85bb0674e08986c6b115d5e3a4884fa',
'ipad' => 'ad9fcda2e679cf9229e37feae2cdcf80',
... ...
... ... @@ -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;
... ...