소스 검색

会员升级

Kirin 2 년 전
부모
커밋
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) {