后台清理用户订阅缓存增加成功提示

dev
GeekQu 7 years ago
parent 513697ea18
commit a116d92e00
No known key found for this signature in database
GPG Key ID: F0EEABFCD04A5891

@ -589,6 +589,9 @@ class UserController extends AdminController
$user_path = (BASE_PATH . '/storage/SubscribeCache/' . $id . '/');
Tools::delDirAndFile($user_path);
return $response->withStatus(302)->withHeader('Location', '/admin/user');
$res['ret'] = 1;
$res['msg'] = '清理成功';
return $this->echoJson($response, $res);
}
}

Loading…
Cancel
Save