Commit 2257dfc5 authored by luhongguang's avatar luhongguang

update: SHQBD-1177

parent 35ac8468
...@@ -142,10 +142,10 @@ class PindanActivityInviteOrderService ...@@ -142,10 +142,10 @@ class PindanActivityInviteOrderService
$data[$userId]["yesterday_reward"] = 0; $data[$userId]["yesterday_reward"] = 0;
$data[$userId]["all_reward"] = 0; $data[$userId]["all_reward"] = 0;
if (!empty($yesterdayData[$userId])) { if (!empty($yesterdayData[$userId])) {
$data[$userId]["yesterday_reward"] = sprintf("%.2f", array_sum($yesterdayData[$userId]) / 100); $data[$userId]["yesterday_reward"] = sprintf("%.1f", array_sum($yesterdayData[$userId]) / 100);
} }
if (!empty($allData[$userId])) { if (!empty($allData[$userId])) {
$data[$userId]["all_reward"] = sprintf("%.2f", array_sum($allData[$userId]) / 100); $data[$userId]["all_reward"] = sprintf("%.1f", array_sum($allData[$userId]) / 100);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment