Browse Source

会员升级

Kirin 7 months ago
parent
commit
433118cec8
1 changed files with 1 additions and 1 deletions
  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) {