Commit 1771baa2 authored by hujun's avatar hujun

+

parent bd71fd7e
......@@ -479,7 +479,11 @@ class PrivacyNumber
$minute = $time = 0;
foreach ($time_arr as $t_val) {
$minute += ceil($t_val['time']/60);
if ($t_val['time'] <= 60) {
$minute += 1;
} else {
$minute += ceil($t_val['time']/60);
}
$time += $t_val['time'];
}
$tmp_data['money'] = $minute * 0.055 + $minute * 0.04;
......
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