12345678910111213141516171819202122232425262728 |
- /*
- * @Author: Your Name lishengyin@sz-sunwin.com
- * @Date: 2022-06-15 22:40:47
- * @LastEditors: Your Name lishengyin@sz-sunwin.com
- * @LastEditTime: 2022-06-15 22:42:04
- * @FilePath: /ins/source/filters/include/LoginFilter.hpp
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
- */
- /**
- *
- * LoginFilter.h
- *
- */
- #pragma once
- #include <drogon/HttpFilter.h>
- using namespace drogon;
- class LoginFilter : public HttpFilter<LoginFilter>
- {
- public:
- LoginFilter() {}
- virtual void doFilter(const HttpRequestPtr &req,
- FilterCallback &&fcb,
- FilterChainCallback &&fccb) override;
- };
|