...
|
...
|
@@ -4,6 +4,7 @@ namespace LibModels\Wap\Home; |
|
|
|
|
|
use Api\Sign;
|
|
|
use Api\Yohobuy;
|
|
|
use Plugin\Helpers;
|
|
|
|
|
|
/**
|
|
|
* 购物车的数据模型
|
...
|
...
|
@@ -382,6 +383,9 @@ class CartData |
|
|
$param = Yohobuy::param();
|
|
|
$param['debug'] = 'Y';
|
|
|
$param['client_type'] = 'h5'; // 需要ERP统计WAP的下单量
|
|
|
if(Helpers::is_weixin()) {
|
|
|
$param['client_type'] = 'weixin';
|
|
|
}
|
|
|
$param['private_key'] = Yohobuy::$privateKeyList['android']; // H5默认使用Android的私钥
|
|
|
$param['method'] = 'app.Shopping.submit';
|
|
|
$param['address_id'] = $addressId;
|
...
|
...
|
|