购物车和购物地址设置

This commit is contained in:
Jerry Yan 2019-10-30 22:21:07 +08:00
parent caeb0d917c
commit a18c8d4cc8
4 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -2,7 +2,7 @@
$data['version'] = 16;
$data['ios_must_update'] = 0; //是否强制更新,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['ios_version'] = '1.0.0';
$data['ios_appid'] = '1355322179';

View File

@ -19,6 +19,7 @@ class Carts extends Base{
$goodsSpecId = (int)input('post.goodsSpecId');
$type = (int)input('post.type');
$goodsType = (int)input('post.from',2);
if($goodsType<=0)$goodsType=2;
//mark 添加验证
//$m = new \addons\hyhsale\model\Hyhsale();
// if($type == 0 && model('\addons\hyhsale\model\Hyhsale')->getEffectiveGoods(['goodsId'=>$goodsId,'specsId'=>$goodsSpecId])){

View File

@ -201,7 +201,6 @@ class Shopping extends Base{
public function getGoods(){
$page = (int)input('page',1);
$type = (int)input('type',1);//1逛商都2助微吧
$scale = 0;
if(1 == $type){
$scale = dataConf('discountRateGtToShopping');
}elseif(2 == $type){