|
|
@@ -33,6 +33,22 @@ class PurchaseClearController extends BaseController
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ //花大苪 洋桔梗,只有叶荷姐才能销账
|
|
|
+ if (in_array($this->shopId, [16070])) {
|
|
|
+ if (!in_array($this->adminId, [9303, 4])) {
|
|
|
+ util::fail('暂无权限');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (in_array($this->shopId, [36523])) {
|
|
|
+ if (!in_array($this->adminId, [919])) {
|
|
|
+ util::fail('暂无权限');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$post['sjId'] = $this->sjId;
|
|
|
$post['shopId'] = $this->shopId;
|
|
|
$post['clearStyle'] = dict::getDict('clearStyle', 'gys2KmGys');
|