修改充值

This commit is contained in:
liu 2024-07-06 18:25:16 +08:00
parent 89426af815
commit 1d57453383
2 changed files with 9 additions and 9 deletions

View File

@ -27,26 +27,26 @@ use app\api\lists\user\UserRechargeLists;
$send_bar = "品牌礼品券";
$arr = [
[
// 'money'=>1000,//采购包
'money'=>1,//采购包
'money'=>1000,//采购包
// 'money'=>1,//采购包
'send'=>249,//礼品券
'money_string'=>$buy_bar,
'send_string'=>$send_bar,
],
[
'money'=>2,//采购包2000
'money'=>2000,//采购包
'send'=>560,//礼品券
'money_string'=>$buy_bar,
'send_string'=>$send_bar,
],
[
'money'=>5,//采购包5000
'money'=>5000,//采购包
'send'=>1550,//礼品券
'money_string'=>$buy_bar,
'send_string'=>$send_bar,
],
[
'money'=>10,//采购包10000
'money'=>10000,//采购包
'send'=>3500,//礼品券
'money_string'=>$buy_bar,
'send_string'=>$send_bar,

View File

@ -25,16 +25,16 @@ class UserSignLogic extends BaseLogic
{
$price=(int)$order['price'];
switch ($price) {
case 1:
case 1000:
$total_vip = 249;
break;
case 2:
case 2000:
$total_vip = 560;
break;
case 5:
case 5000:
$total_vip = 1550;
break;
case 10:
case 10000:
$total_vip = 3500;
break;
default: