购物车和购物地址设置
This commit is contained in:
parent
caeb0d917c
commit
a18c8d4cc8
BIN
H5B854518.wgt
BIN
H5B854518.wgt
Binary file not shown.
@ -2,7 +2,7 @@
|
|||||||
$data['version'] = 16;
|
$data['version'] = 16;
|
||||||
$data['ios_must_update'] = 0; //是否强制更新,0不强制,1强制
|
$data['ios_must_update'] = 0; //是否强制更新,0不强制,1强制
|
||||||
$data['must_update'] = 1; //是否强制更新,0不强制,1强制
|
$data['must_update'] = 1; //是否强制更新,0不强制,1强制
|
||||||
$data['apk_version'] = '2.2.6';
|
$data['apk_version'] = '2.2.7';
|
||||||
$data['apk_down_url'] = 'http://www.zgqlg.com.cn/H5B854518.wgt';
|
$data['apk_down_url'] = 'http://www.zgqlg.com.cn/H5B854518.wgt';
|
||||||
//$data['ios_version'] = '1.0.0';
|
//$data['ios_version'] = '1.0.0';
|
||||||
$data['ios_appid'] = '1355322179';
|
$data['ios_appid'] = '1355322179';
|
||||||
|
@ -19,6 +19,7 @@ class Carts extends Base{
|
|||||||
$goodsSpecId = (int)input('post.goodsSpecId');
|
$goodsSpecId = (int)input('post.goodsSpecId');
|
||||||
$type = (int)input('post.type');
|
$type = (int)input('post.type');
|
||||||
$goodsType = (int)input('post.from',2);
|
$goodsType = (int)input('post.from',2);
|
||||||
|
if($goodsType<=0)$goodsType=2;
|
||||||
//mark 添加验证
|
//mark 添加验证
|
||||||
//$m = new \addons\hyhsale\model\Hyhsale();
|
//$m = new \addons\hyhsale\model\Hyhsale();
|
||||||
// if($type == 0 && model('\addons\hyhsale\model\Hyhsale')->getEffectiveGoods(['goodsId'=>$goodsId,'specsId'=>$goodsSpecId])){
|
// if($type == 0 && model('\addons\hyhsale\model\Hyhsale')->getEffectiveGoods(['goodsId'=>$goodsId,'specsId'=>$goodsSpecId])){
|
||||||
|
@ -201,7 +201,6 @@ class Shopping extends Base{
|
|||||||
public function getGoods(){
|
public function getGoods(){
|
||||||
$page = (int)input('page',1);
|
$page = (int)input('page',1);
|
||||||
$type = (int)input('type',1);//1逛商都2助微吧
|
$type = (int)input('type',1);//1逛商都2助微吧
|
||||||
$scale = 0;
|
|
||||||
if(1 == $type){
|
if(1 == $type){
|
||||||
$scale = dataConf('discountRateGtToShopping');
|
$scale = dataConf('discountRateGtToShopping');
|
||||||
}elseif(2 == $type){
|
}elseif(2 == $type){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user