diff --git a/app/chat/controller/GroupController.php b/app/chat/controller/GroupController.php index 24f8437..9186089 100644 --- a/app/chat/controller/GroupController.php +++ b/app/chat/controller/GroupController.php @@ -274,6 +274,7 @@ class GroupController extends ApiController 'user_id' => $this->uid, ])->update(['quit_time' => d()]); if($res) { + Redis::del('usermsg:list:' . $this->user_type . ':' . $this->uid); return $this->success(); } return $this->error();