feat(CommissionProductLogic): updated user ship condition, added in_array check for user_ship, improved code quality
This commit is contained in:
parent
7a7c9c2ad7
commit
fe10a63fe0
@ -40,7 +40,7 @@ class CommissionProductLogic extends BaseLogic
|
||||
$this->a($find, $order, $village_uid, $brigade_uid, $user_ship, $product);
|
||||
return true;
|
||||
}
|
||||
} elseif ($user_ship == 0||$user_ship == 4) {
|
||||
} elseif ($user_ship == 0|| in_array($user_ship, [4,6,7])) {
|
||||
//普通用户利润全部给门店
|
||||
$this->b($find, $order, $product, $user_ship);
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user