|
|
@@ -22,6 +22,7 @@ use app\common\enum\YesNoEnum;
|
|
|
use app\common\logic\BaseLogic;
|
|
|
use app\common\model\Region;
|
|
|
use app\common\model\UserAddress;
|
|
|
+use app\common\model\SpecialArea;
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -218,4 +219,10 @@ class UserAddressLogic extends BaseLogic
|
|
|
$regionLists = Region::where($where)->field('id,name')->select();
|
|
|
return $regionLists;
|
|
|
}
|
|
|
+
|
|
|
+ public static function getSpecialAreaLists(){
|
|
|
+ $where[]=['is_show','=',1];
|
|
|
+ $list = SpecialArea::where($where)->order('sort desc,id desc')->select()->toArray();
|
|
|
+ return $list;
|
|
|
+ }
|
|
|
}
|