Kirin преди 1 година
родител
ревизия
433118cec8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/services/user/AwardIntegralServices.php

+ 1 - 1
app/services/user/AwardIntegralServices.php

@@ -265,7 +265,7 @@ class AwardIntegralServices extends BaseServices
                 $update['sent_num'] = $v['num'];
                 $update['status'] = 1;
             }
-            $update['extract_num'] = bcadd($real_send, $v['extract_num'], 2);
+            $update['extract_num'] = bcadd((string)$real_send, (string)$v['extract_num'], 2);
             $update['send_time'] = time();
             $this->dao->update($v['id'], $update);
             if (($update['status'] ?? 0) == 1) {