|
|
@@ -130,6 +130,19 @@ class GhsController extends BaseController
|
|
|
//是否屏蔽 ssh 20230226
|
|
|
public function actionChangeDelStatus()
|
|
|
{
|
|
|
+
|
|
|
+ $adminId = $this->adminId;
|
|
|
+ //只有石少华才能删除商家
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ if ($adminId != 4) {
|
|
|
+ util::fail('开发中');
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if ($adminId != 919) {
|
|
|
+ util::fail('开发中');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$get = Yii::$app->request->get();
|
|
|
$ghsId = $get['ghsId'] ?? 0;
|
|
|
$delStatus = $get['delStatus'] ?? 0;
|