配送方式 默认本地法 改myship.php

2016-07-07 15:20 来源:www.chinab4c.com 作者:ecshop专家

找到
  1. $choose['province'] = isset($_POST['province']) ? $_POST['province'] : 2;
  2. $choose['city'] = isset($_POST['city']) ? $_POST['city'] : 35;
复制代码
改成
  1. $choose['province'] = isset($_POST['province']) ? $_POST['province'] :$_CFG['shop_province'];
  2. $choose['city'] = isset($_POST['city']) ? $_POST['city'] :$_CFG['shop_city'];
复制代码

回答:
顶一下!

顶一下!
顶一下!

什么意思?