|
|
@@ -260,6 +260,12 @@ class CustomController extends BaseController
|
|
|
//修改客户等级 shish 20211007
|
|
|
public function actionChangeLevel()
|
|
|
{
|
|
|
+
|
|
|
+ $shopAdmin = $this->shopAdmin;
|
|
|
+ if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
|
+ util::fail('超管才能修改');
|
|
|
+ }
|
|
|
+
|
|
|
$get = Yii::$app->request->get();
|
|
|
$customId = $get['customId'] ?? 0;
|
|
|
$level = $get['level'] ?? 0;
|