作者 何书鹏
1 个管道 的构建 失败 耗费 32 秒

bug修改

... ... @@ -752,7 +752,7 @@ class User extends Api
unset($data['exam']['updatetime']);
unset($data['exam']['createtime']);
$a = floor($data['exam']['finish_hour']/$data['exam']['class_hour']*100);
$a = $data['exam']['class_hour'] == 0 ? 0 : floor($data['exam']['finish_hour']/$data['exam']['class_hour']*100);
if($a > 100){
$a = 100;
}
... ...