|
@@ -3,7 +3,7 @@ declare(strict_types=0);
|
|
|
|
|
|
$config['exclude_preferential_goods_ids'] = [6217];
|
|
|
$config['card_commonid'] = ['oil' => 3449, 'phone' => 3450];
|
|
|
-$config['vgoods_spec_card'] = [6218 => 100, 6219 => 200, 6220 => 100, 6221 => 200];
|
|
|
+$config['vgoods_spec_card'] = [6218 => 100, 6219 => 200, 6220 => 100, 6221 => 200,6224 => 500, 6225 => 1000];
|
|
|
|
|
|
|
|
|
//$config['tips'] = ['first_order' => '首次充值享受会员价95折',
|
|
@@ -35,6 +35,8 @@ $oil_params = ['type' => 'oil_card', 'order_method' => 'OnReserveOilCard',
|
|
|
'input_params' => ['card_no','card_type']];
|
|
|
$handlers[6218] = $oil_params;
|
|
|
$handlers[6219] = $oil_params;
|
|
|
+$handlers[6224] = $oil_params;
|
|
|
+$handlers[6225] = $oil_params;
|
|
|
|
|
|
#phone card
|
|
|
$phone_card_prams = ['type' => 'phone_card', 'order_method' => 'OnReservePhoneCard',
|
|
@@ -70,4 +72,19 @@ $share_policy[6219] = [
|
|
|
['num' => 1, 'discount' => 0.05, 'price' => 1.95]
|
|
|
];
|
|
|
|
|
|
+//6220 油费 amount = 500
|
|
|
+$share_policy[6224] = [
|
|
|
+ ['num' => 3, 'discount' => 0.25, 'price' => 4.75],
|
|
|
+ ['num' => 2, 'discount' => 0.20, 'price' => 4.80],
|
|
|
+ ['num' => 1, 'discount' => 0.15, 'price' => 4.85]
|
|
|
+];
|
|
|
+
|
|
|
+//6220 油费 amount = 1000
|
|
|
+$share_policy[6225] = [
|
|
|
+ ['num' => 5, 'discount' => 0.50, 'price' => 9.50],
|
|
|
+ ['num' => 3, 'discount' => 0.40, 'price' => 9.60],
|
|
|
+ ['num' => 2, 'discount' => 0.30, 'price' => 9.70],
|
|
|
+ ['num' => 1, 'discount' => 0.25, 'price' => 9.75]
|
|
|
+];
|
|
|
+
|
|
|
$config['goods_share_policy'] = $share_policy;
|