Files
IM/MDB/imm_mysqldb/template_table/im_user_friends.h
dongl 61ff6fe46b 修改了 添加好友的代码
发现了获取验证码的bug delete sri后 无报错不发数据包
还有填写验证码 错误 session删除了
2023-06-16 20:37:27 +08:00

23 lines
796 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Created by dongl on 23-5-4.
//
//#ifndef IM2_IM_USER_FRIENDS_CPP
//#define IM2_IM_USER_FRIENDS_CPP
#if !defined(IM2_IM_USER_FRIENDS_CPP)
#define IM2_IM_USER_FRIENDS_CPP
#include <mysql++/mysql++.h>
#include <mysql++/ssqls.h>
sql_create_5(im_user_friends,
1, 5, // 1 当主键 第三个参数是 SETCOUNT。如果这为非零值则添加一个初始化构造函数和一个成员函数该函数采用给定数量的参数用于设置结构的前 N 个字段。
mysqlpp::sql_bigint, account,
mysqlpp::sql_blob, groups,
mysqlpp::sql_blob, friends,
mysqlpp::sql_blob, to_be_added,
mysqlpp::sql_varchar, restrictions
);
#endif //IM2_IM_USER_FRIENDS_CPP