@@ -91,6 +91,7 @@ class AwardIntegralPriceRepository extends BaseRepository
@file_put_contents('quanju4.txt', sprintf("%.8f", $add_price) . "-789\r\n", 8);
}
+ @file_put_contents('quanju4.txt', $basePrice . "-之前的总价总价\r\n", 8);
$price = bcadd((string)$add_price, (string)$basePrice, 8);
@file_put_contents('quanju4.txt', time() . "-正常获取走的到这里吗\r\n", 8);
@@ -35,7 +35,7 @@ class AutoSavePriceListen extends TimerService implements ListenerInterface
if (!isset($yesterday['basePrice'])) {
return;
-
+ @file_put_contents('quanju4.txt', json_encode($yesterday) . "-每日分红积分价格147\r\n", 8);
$service->setPrice($day, $yesterday['price'], $yesterday['commission'], $yesterday['achievement'], $yesterday['num'],$yesterday['add_price']);
});