|
@@ -29,35 +29,35 @@ class ShopAdminClass extends BaseClass
|
|
|
$staffId = $staff->id ?? 0;
|
|
$staffId = $staff->id ?? 0;
|
|
|
if (getenv('YII_ENV', 'local') == 'production') {
|
|
if (getenv('YII_ENV', 'local') == 'production') {
|
|
|
if ($mainId == 8502) {
|
|
if ($mainId == 8502) {
|
|
|
- //昱成只有指定人有查看财务权限
|
|
|
|
|
|
|
+ //昱成指定人有查看财务权限
|
|
|
$point = [134326, 134325, 134323, 134361, 134362];
|
|
$point = [134326, 134325, 134323, 134361, 134362];
|
|
|
if (in_array($staffId, $point) == false) {
|
|
if (in_array($staffId, $point) == false) {
|
|
|
$lookMoney = 0;
|
|
$lookMoney = 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if ($mainId == 7704) {
|
|
if ($mainId == 7704) {
|
|
|
- //国恋只有指定人有查看财务权限
|
|
|
|
|
|
|
+ //国恋指定人有查看财务权限
|
|
|
$point = [133727, 133545, 133548];
|
|
$point = [133727, 133545, 133548];
|
|
|
if (in_array($staffId, $point) == false) {
|
|
if (in_array($staffId, $point) == false) {
|
|
|
$lookMoney = 0;
|
|
$lookMoney = 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if ($mainId == 7756) {
|
|
if ($mainId == 7756) {
|
|
|
- //勇记只有指定人有查看财务权限
|
|
|
|
|
|
|
+ //勇记指定人有查看财务权限
|
|
|
$point = [133597, 133699];
|
|
$point = [133597, 133699];
|
|
|
if (in_array($staffId, $point) == false) {
|
|
if (in_array($staffId, $point) == false) {
|
|
|
$lookMoney = 0;
|
|
$lookMoney = 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if ($mainId == 7779) {
|
|
if ($mainId == 7779) {
|
|
|
- //丰行只有指定人有查看财务权限
|
|
|
|
|
|
|
+ //丰行指定人有查看财务权限
|
|
|
$point = [133620, 133641];
|
|
$point = [133620, 133641];
|
|
|
if (in_array($staffId, $point) == false) {
|
|
if (in_array($staffId, $point) == false) {
|
|
|
$lookMoney = 0;
|
|
$lookMoney = 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if ($mainId == 50) {
|
|
if ($mainId == 50) {
|
|
|
- //石头花艺查看财务权限
|
|
|
|
|
|
|
+ //石头花艺指定人有查看财务权限
|
|
|
$point = [125880];
|
|
$point = [125880];
|
|
|
if (in_array($staffId, $point) == false) {
|
|
if (in_array($staffId, $point) == false) {
|
|
|
$lookMoney = 0;
|
|
$lookMoney = 0;
|