|
|
@@ -23,6 +23,9 @@ class CashController extends BaseController
|
|
|
$get = Yii::$app->request->get();
|
|
|
$get['shopAdminId'] = $this->shopAdminId;
|
|
|
$shopAdmin = $this->shopAdmin;
|
|
|
+ if (isset($shopAdmin['super']) == false || $shopAdmin['super'] != 1) {
|
|
|
+ util::fail('超管才能申请提现');
|
|
|
+ }
|
|
|
$get['shopAdminName'] = $shopAdmin->name ?? '';
|
|
|
$get['shopId'] = $this->shopId;
|
|
|
$get['sjId'] = $this->sjId;
|