|
|
@@ -15,7 +15,7 @@ class CheckOrderController extends BaseController
|
|
|
public function actionBookDelStock()
|
|
|
{
|
|
|
$staff = $this->shopAdmin;
|
|
|
- if(isset($staff->identity) && $staff->identity == 2){
|
|
|
+ if (isset($staff->identity) && $staff->identity == 2) {
|
|
|
util::fail('不能操作');
|
|
|
}
|
|
|
|
|
|
@@ -52,7 +52,7 @@ class CheckOrderController extends BaseController
|
|
|
public function actionBookAddStock()
|
|
|
{
|
|
|
$staff = $this->shopAdmin;
|
|
|
- if(isset($staff->identity) && $staff->identity == 2){
|
|
|
+ if (isset($staff->identity) && $staff->identity == 2) {
|
|
|
util::fail('不能操作');
|
|
|
}
|
|
|
|
|
|
@@ -93,7 +93,7 @@ class CheckOrderController extends BaseController
|
|
|
public function actionLoan()
|
|
|
{
|
|
|
$staff = $this->shopAdmin;
|
|
|
- if(isset($staff->identity) && $staff->identity == 2){
|
|
|
+ if (isset($staff->identity) && $staff->identity == 2) {
|
|
|
util::fail('不能操作');
|
|
|
}
|
|
|
|
|
|
@@ -348,9 +348,9 @@ class CheckOrderController extends BaseController
|
|
|
|
|
|
$mainId = $this->mainId;
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
- //源花汇小周可以清花材
|
|
|
+ //源花汇小周、小吴、小吕可以清花材
|
|
|
if ($mainId == 10536) {
|
|
|
- if (in_array($this->adminId, [11648])) {
|
|
|
+ if (in_array($this->adminId, [11648, 11961, 11976])) {
|
|
|
$could = true;
|
|
|
}
|
|
|
}
|