Browse Source

优惠方式

shish 6 years ago
parent
commit
4cdb0a2bed
1 changed files with 0 additions and 1 deletions
  1. 0 1
      biz/order/services/OrderService.php

+ 0 - 1
biz/order/services/OrderService.php

@@ -209,7 +209,6 @@ class OrderService extends BaseService
 				$discountAmount = 0.01;
 				$discountAmount = 0.01;
 			}
 			}
 			$discountPrice = stringUtil::calcSub($price, $discountAmount);
 			$discountPrice = stringUtil::calcSub($price, $discountAmount);
-			$discountPrice = $discountPrice <= 0 ? 0.01 : $discountPrice;
 			$discountType = 3;
 			$discountType = 3;
 		}
 		}
 		$discountType = $discountAmount <= 0 ? 0 : $discountType;
 		$discountType = $discountAmount <= 0 ? 0 : $discountType;