IM/MS/works/service/PEVerifCodeService.h
dongl c1e7ae4662 已解决
可以添加好友
获取验证码delete bug
注册

待完成
配合client 实现添加好友后, client gui 好友列表立马回显,
2023-06-18 18:39:54 +08:00

22 lines
374 B
C++

//
// 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;
};
#endif //IM2_PEVERIFCODESERVICE_H