|
@@ -3,6 +3,7 @@
|
|
|
namespace app\api\controller;
|
|
|
|
|
|
use app\common\controller\UserApi;
|
|
|
+use app\common\library\MobileConstant;
|
|
|
use app\common\model\Area;
|
|
|
use app\common\model\Mobile;
|
|
|
use think\db\Query;
|
|
@@ -146,4 +147,11 @@ class MobileController extends UserApi
|
|
|
$list=$model->paginate(input('limit',15));
|
|
|
$this->success('',$list);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 网络列表
|
|
|
+ */
|
|
|
+ public function network(){
|
|
|
+ $works=array_column(MobileConstant::getNetwork(),'name');
|
|
|
+ $this->success('',$works);
|
|
|
+ }
|
|
|
}
|