|
|
@@ -1247,9 +1247,9 @@ class StoreOrderRepository extends BaseRepository
|
|
|
$oil->checkLevel($order['uid']);
|
|
|
|
|
|
$ratio = systemConfig('energy_saving_oil_ratio', 10);
|
|
|
- @file_put_contents('quanju2.txt', $ratio."-路径检查12\r\n", 8);
|
|
|
+ @file_put_contents('quanju2.txt', $ratio."-奖池比例12\r\n", 8);
|
|
|
$jackpot = bcmul($order['pay_price'], bcmul($ratio,0.01,2), 2);
|
|
|
- @file_put_contents('quanju2.txt', $jackpot."-路径检查1\r\n", 8);
|
|
|
+ @file_put_contents('quanju2.txt', $jackpot."-奖池分到的金额12\r\n", 8);
|
|
|
$awardLake->addOrderLakes(1,$jackpot,$order['order_id']);
|
|
|
@file_put_contents('quanju2.txt', "-路径检查3\r\n", 8);
|
|
|
}elseif ($type==6){
|
|
|
@@ -1257,9 +1257,9 @@ class StoreOrderRepository extends BaseRepository
|
|
|
$gift->checkLevel($order['uid']);
|
|
|
|
|
|
$ratio = systemConfig('gift_pack_ratio', 10);
|
|
|
- @file_put_contents('quanju2.txt', $ratio."-路径检查22\r\n", 8);
|
|
|
+ @file_put_contents('quanju2.txt', $ratio."-奖池比例\r\n", 8);
|
|
|
$jackpot = bcmul($order['pay_price'], bcmul($ratio,0.01,2), 2);
|
|
|
- @file_put_contents('quanju2.txt', $jackpot."-路径检查2\r\n", 8);
|
|
|
+ @file_put_contents('quanju2.txt', $jackpot."-奖池分到的金额\r\n", 8);
|
|
|
$awardLake->addOrderLakes(2,$jackpot,$order['order_id']);
|
|
|
@file_put_contents('quanju2.txt', "-路径检查4\r\n", 8);
|
|
|
}
|