zhuchengjie 2 years ago
parent
commit
a37d77dd18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/QuickApp/User/ReadRecordController.php

+ 1 - 1
app/Http/Controllers/QuickApp/User/ReadRecordController.php

@@ -108,7 +108,7 @@ class ReadRecordController extends BaseController
                                 $result = false;
                             }
                             if ($result) {
-                                unset($res[$key]);
+                                unset($value);
                                 ReadRecordService::delReadRecordStatic($this->uid,[$val->bid]);
                             }
                         }