dever 6 anni fa
parent
commit
d547bf7a2d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      youzan/src/Card.php

+ 2 - 2
youzan/src/Card.php

@@ -61,7 +61,7 @@ class Card
 			$info['fixed_term'] = 0;
 
 			if (!$info['discount']) {
-				$info['discount'] = 10;
+				$info['discount'] = 0;
 			}
 
 			if ($info['value_random_to']) {
@@ -83,7 +83,7 @@ class Card
 				$info['range_type'] = 'ALL';
 			}
 
-			$info['preferential_type'] = 1;
+			$info['preferential_type'] = 0;
 			
 			$info['is_sync_weixin'] = $info['is_sync_weixin'] - 1;
 			$info['is_share'] = $info['is_share'] - 1;