// // Created by dongl on 23-5-10. // #ifndef IM2_PEVERIFCODESERVICE_H #define IM2_PEVERIFCODESERVICE_H #include "Service.h" class PEVerifCodeService : public Service { public: std::string gen_code(); mp::sri* send_email(const std::string& target_email, const std::string& code = "0"); private: std::string emailcode; UserDB userDb; }; #endif //IM2_PEVERIFCODESERVICE_H