|
|
@@ -48,13 +48,6 @@ class ShopAdminController extends BaseController
|
|
|
//添加员工
|
|
|
public function actionAddStaff()
|
|
|
{
|
|
|
- $shop = $this->shop;
|
|
|
- $join = $shop->join ?? 0;
|
|
|
- $default = $shop->default ?? 0;
|
|
|
- if ($join == 0 && $default == 0) {
|
|
|
- //util::fail('请在总店操作');
|
|
|
- }
|
|
|
-
|
|
|
$shopAdmin = $this->shopAdmin;
|
|
|
if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
|
util::fail('没有权限');
|