|
|
@@ -10,6 +10,7 @@ use biz\sj\classes\SjClass;
|
|
|
use bizGhs\custom\classes\CustomClass;
|
|
|
use bizHd\admin\services\ShopAdminService;
|
|
|
use bizHd\saas\classes\ApplyClass;
|
|
|
+use common\components\stringUtil;
|
|
|
use common\components\util;
|
|
|
use Yii;
|
|
|
|
|
|
@@ -19,8 +20,13 @@ class ShopAdminController extends BaseController
|
|
|
//员工列表 ssh 2019.12.8
|
|
|
public function actionList()
|
|
|
{
|
|
|
+ $get = Yii::$app->request->get();
|
|
|
$where = [];
|
|
|
$where['delStatus'] = 0;
|
|
|
+ $mobile = $get['mobile'] ?? '';
|
|
|
+ if (!empty($mobile) && stringUtil::isMobile($mobile)) {
|
|
|
+ $where['mobile'] = $mobile;
|
|
|
+ }
|
|
|
$list = ShopAdminService::getAdminList($where);
|
|
|
util::success($list);
|
|
|
}
|