Browse Source

完善功能

gorden 10 months ago
parent
commit
75c6772b2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/service/member/MemberService.php

+ 1 - 1
app/admin/service/member/MemberService.php

@@ -181,7 +181,7 @@ class MemberService
                     if ($item['pay_category'] == 'RECHARGE' && (!isset($extendJson['notify']) || $extendJson['notify'] != 'success')) {
                         continue;
                     }
-                    if (isset($extendJson['added_amount']) && $extendJson['added_amount'] > 0) {
+                    if (isset($extendJson['added_amount']) && floatval($extendJson['added_amount']) > 0) {
                         $data[] = [
                             'join_pay_member_id' => $item['join_pay_member_id'],
                             'pay_addtimes' => $item['pay_addtimes'],