diff --git a/app/api/controller/user/UserRechargeController.php b/app/api/controller/user/UserRechargeController.php index 95ebf071c..2bed5cd04 100644 --- a/app/api/controller/user/UserRechargeController.php +++ b/app/api/controller/user/UserRechargeController.php @@ -27,25 +27,26 @@ use app\api\lists\user\UserRechargeLists; $send_bar = "品牌礼品券"; $arr = [ [ - 'money'=>1000,//采购包 +// 'money'=>1000,//采购包 + 'money'=>1,//采购包 'send'=>249,//礼品券 'money_string'=>$buy_bar, 'send_string'=>$send_bar, ], [ - 'money'=>2000,//采购包 + 'money'=>2,//采购包2000 'send'=>560,//礼品券 'money_string'=>$buy_bar, 'send_string'=>$send_bar, ], [ - 'money'=>5000,//采购包 + 'money'=>5,//采购包5000 'send'=>1550,//礼品券 'money_string'=>$buy_bar, 'send_string'=>$send_bar, ], [ - 'money'=>10000,//采购包 + 'money'=>10,//采购包10000 'send'=>3500,//礼品券 'money_string'=>$buy_bar, 'send_string'=>$send_bar, diff --git a/app/common/logic/UserSignLogic.php b/app/common/logic/UserSignLogic.php index 9ab54da82..7f77e4f40 100644 --- a/app/common/logic/UserSignLogic.php +++ b/app/common/logic/UserSignLogic.php @@ -23,20 +23,16 @@ class UserSignLogic extends BaseLogic { $price=(int)$order['price']; switch ($price) { - case 1000: case 1: $total_vip = 249; break; - case 2000: case 2: $total_vip = 560; break; - case 5000: - case 3: + case 5: $total_vip = 1550; break; - case 10000: - case 4: + case 10: $total_vip = 3500; break; default: