|
|
@@ -97,7 +97,12 @@ class ConsoleController extends BaseController
|
|
|
["name" => "绿植", "img" => "ghs/home/pandian.png", "url" => "/admin/goods/lz", 'pf' => 1,],
|
|
|
["name" => "绿植采购", "img" => "ghs/home/icon_caigou.png", "url" => "/admin/goods/plantCg", 'pf' => 1,],
|
|
|
];
|
|
|
- if ($this->shopAdminId == 126272) {
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ $per = [126305];
|
|
|
+ } else {
|
|
|
+ $per = [126272];
|
|
|
+ }
|
|
|
+ if (in_array($this->shopAdminId, $per)) {
|
|
|
$menu = [
|
|
|
["name" => "拆散", "img" => "ghs/home/dbck.png", "url" => "/admin/part/list", 'pf' => 1,],
|
|
|
["name" => "花束", "img" => "ghs/home/kcyjs.png", "url" => "/admin/goods/list", 'pf' => 1,],
|