feat: 修改用户充值控制器和用户签到逻辑,调整金额数值精度
This commit is contained in:
parent
359d386cfc
commit
981a9f89ae
@ -27,7 +27,7 @@ use app\api\lists\user\UserRechargeLists;
|
|||||||
$send_bar = "品牌礼品券";
|
$send_bar = "品牌礼品券";
|
||||||
$arr = [
|
$arr = [
|
||||||
[
|
[
|
||||||
'money'=>1000,//采购包
|
'money'=>0.01,//采购包
|
||||||
// 'money'=>1,//采购包
|
// 'money'=>1,//采购包
|
||||||
'send'=>249,//礼品券
|
'send'=>249,//礼品券
|
||||||
'money_string'=>$buy_bar,
|
'money_string'=>$buy_bar,
|
||||||
|
@ -25,7 +25,7 @@ class UserSignLogic extends BaseLogic
|
|||||||
{
|
{
|
||||||
$price=(int)$order['price'];
|
$price=(int)$order['price'];
|
||||||
switch ($price) {
|
switch ($price) {
|
||||||
case 1000:
|
case 0.01:
|
||||||
$total_vip = 249;
|
$total_vip = 249;
|
||||||
break;
|
break;
|
||||||
case 2000:
|
case 2000:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user