Authored by cailing

微信商城客户端类型

@@ -384,7 +384,7 @@ class CartData @@ -384,7 +384,7 @@ class CartData
384 $param['debug'] = 'Y'; 384 $param['debug'] = 'Y';
385 $param['client_type'] = 'h5'; // 需要ERP统计WAP的下单量 385 $param['client_type'] = 'h5'; // 需要ERP统计WAP的下单量
386 if(Helpers::is_weixin()) { 386 if(Helpers::is_weixin()) {
387 - $param['client_type'] = 'weixin'; 387 + $param['client_type'] = 'wechat';
388 } 388 }
389 $param['private_key'] = Yohobuy::$privateKeyList['android']; // H5默认使用Android的私钥 389 $param['private_key'] = Yohobuy::$privateKeyList['android']; // H5默认使用Android的私钥
390 $param['method'] = 'app.Shopping.submit'; 390 $param['method'] = 'app.Shopping.submit';
@@ -87,7 +87,7 @@ class BindData @@ -87,7 +87,7 @@ class BindData
87 $param = Yohobuy::param(); 87 $param = Yohobuy::param();
88 88
89 if(Helpers::is_weixin()) { 89 if(Helpers::is_weixin()) {
90 - $param['client_type'] = 'weixin'; 90 + $param['client_type'] = 'wechat';
91 } 91 }
92 $param['method'] = 'app.passport.bind'; 92 $param['method'] = 'app.passport.bind';
93 $param['mobile'] = $mobile; 93 $param['mobile'] = $mobile;