Skip to content

Commit

Permalink
Merge pull request #10 from tensHugo/master
Browse files Browse the repository at this point in the history
修复满额包邮运费不扣减问题
  • Loading branch information
jianyan74 committed Jun 6, 2020
2 parents 3dd54f7 + 2e3a203 commit 5b15248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/marketing/FullMailService.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public function postage($product_money, $address)
if (
$fullMail['is_open'] == StatusEnum::ENABLED &&
$product_money >= $fullMail['full_mail_money'] &&
in_array($address['city_id'], StringHelper::parseAttr($fullMail['no_mail_city_ids']))
!in_array($address['city_id'], StringHelper::parseAttr($fullMail['no_mail_city_ids']))
) {
return $fullMail;
}

return false;
}
}
}

0 comments on commit 5b15248

Please sign in to comment.