songxingwei 3 years ago
parent
commit
ff99d63b1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/User.php

+ 1 - 1
application/common/model/User.php

@@ -1540,7 +1540,7 @@ class User Extends Model
                 if ($user_overtime_pay>0){
                     $price = $user_overtime_pay;
                 }else{
-                    $price = $order['price'] * 0.1;
+                    $price = $order['price'] * 0.1;      //订单金额10%的加班费
                 }
 
                 $overtime_pay = sprintf("%.2f", ($price/60) * $poor_minutes);  //四舍五入保留两位小数