feat: 修改用户充值控制器和用户签到逻辑,调整金额数值精度

This commit is contained in:
mkm 2024-07-11 14:27:32 +08:00
parent 359d386cfc
commit 981a9f89ae
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ use app\api\lists\user\UserRechargeLists;
$send_bar = "品牌礼品券";
$arr = [
[
'money'=>1000,//采购包
'money'=>0.01,//采购包
// 'money'=>1,//采购包
'send'=>249,//礼品券
'money_string'=>$buy_bar,

View File

@ -25,7 +25,7 @@ class UserSignLogic extends BaseLogic
{
$price=(int)$order['price'];
switch ($price) {
case 1000:
case 0.01:
$total_vip = 249;
break;
case 2000: