|
|
@@ -29,6 +29,12 @@ class CustomController extends BaseController
|
|
|
//客户设置相关 ssh 20250310
|
|
|
public function actionSetChange()
|
|
|
{
|
|
|
+
|
|
|
+ $staff = $this->shopAdmin;
|
|
|
+ if ($staff->founder != 2 && $staff->mobile != 15280215347) {
|
|
|
+ util::fail('老板才能修改');
|
|
|
+ }
|
|
|
+
|
|
|
$post = Yii::$app->request->post();
|
|
|
$shopId = $this->shopId;
|
|
|
ShopClass::updateById($shopId, $post);
|