Commit 7d89ebb0 by allen

地址并未查找到

parent 8a093855
Showing with 5 additions and 0 deletions
......@@ -425,6 +425,11 @@ class OrderModel extends Model
$city = array('天津','北京','上海','重庆');
//地址并未查找到
if(empty($result[0]['region_name'])){
return '';
}
//如果名字是这几个 就是直辖市
if(in_array($result[0]['region_name'], $city) && $result[0]['region_type'] != 2){
return '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment