提前消费返补
This commit is contained in:
parent
e66a83fbfb
commit
ed82bcf44a
@ -296,6 +296,7 @@ class Billions extends Api
|
||||
$dat['way'] = 4;
|
||||
$dat['type'] = 1;
|
||||
$dat['money'] = $money;
|
||||
$dat['take_money'] = $money;
|
||||
$dat['create_time'] = date("Y-m-d H:i:s");
|
||||
// 插入提现记录
|
||||
$first_save_record = Db::name("subsidy_withdrawal_record")->save($dat);
|
||||
@ -315,6 +316,7 @@ class Billions extends Api
|
||||
$dat['way'] = 4;
|
||||
$dat['type'] = 1;
|
||||
$dat['money'] = $money ;
|
||||
$dat['take_money'] = $money;
|
||||
$dat['create_time'] = date("Y-m-d H:i:s");
|
||||
// 插入提现记录
|
||||
$first_save_record = Db::name("subsidy_withdrawal_record")->save($dat);
|
||||
|
||||
@ -1103,7 +1103,11 @@ class BillionsLogic extends Logic
|
||||
])->count();
|
||||
|
||||
foreach($list as &$item) {
|
||||
$item['desc'] = '提现微信¥' . number_format($item['money'], 2) . ', 手续费: ' . $item['commission'] . '%, 实际到账 ¥' . $item['take_money'];
|
||||
if($item['way'] == 4){
|
||||
$item['desc'] = '提前消费¥' . number_format($item['money'], 2) . ', 手续费: ' . $item['commission'] . '%, 实际到账 ¥' . $item['take_money'];
|
||||
}else{
|
||||
$item['desc'] = '提现微信¥' . number_format($item['money'], 2) . ', 手续费: ' . $item['commission'] . '%, 实际到账 ¥' . $item['take_money'];
|
||||
}
|
||||
}
|
||||
|
||||
$result = [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user