Kirin преди 9 месеца
родител
ревизия
15ef501b63
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      app/services/user/AwardIntegralServices.php

+ 3 - 0
app/services/user/AwardIntegralServices.php

@@ -149,6 +149,9 @@ class AwardIntegralServices extends BaseServices
      */
     public function incIntegral(int $uid, string $total, float $order_price, int $order_id = 0, string $mark = '', $add_time = 0, $pay_type = 'yue', $yue_pay_price = 0)
     {
+        if ($pay_type == 'yue') {
+            $yue_pay_price = $order_price;
+        }
 //        $inc_integral = bcdiv($total, $price, 5);
         //计算释放天数
         $default_send_day = sys_config('default_send_day', 90);