Browse Source

会员升级

Kirin 1 month ago
parent
commit
15ef501b63
1 changed files with 3 additions and 0 deletions
  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);