feat: 修改CommissionProductLogic类以支持更多用户船舶类型

This commit is contained in:
mkm 2024-07-29 16:52:51 +08:00
parent c4e69f99f7
commit 665f56cee9

View File

@ -23,7 +23,7 @@ class CommissionProductLogic extends BaseLogic
{
$product = StoreProduct::where('id', $find['product_id'])->find();
if ($product && $product['rose'] > 0) {
if (in_array($user_ship, [4, 6, 7])) {
if (in_array($user_ship, [4, 5,6, 7])) {
$this->b($find, $order, $product);
return true;
}