Documentation ¶
Overview ¶
*
* * @author liangjf * @create on 2020/7/1 * @version 1.0
*
* * @author liangjf * @create on 2020/9/10 * @version 1.0
*
* * @author liangjf * @create on 2020/7/1 * @version 1.0
*
* * @author liangjf * @create on 2020/9/10 * @version 1.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllGateway ¶
func GetRedisPool ¶
func InitRedisPool ¶
Types ¶
type TBUser ¶
type TBUser struct { gorm.Model Username string `gorm:"column:username;not null;index:index_username" json:"username" description:"username"` Password string `gorm:"column:password;not null;" json:"password" description:"password"` UUID string `gorm:"column:uuid;not null;index:index_uuid" json:"uuid" description:"uuid"` UserID string `gorm:"column:user_id;not null;" json:"user_id" description:"用户id"` Phone string `gorm:"column:phone;not null;" json:"phone" description:"手机号"` IsAvailable int8 `gorm:"column:is_available; default:1; not null;" json:"isavailable" description:"是否可用 1可用 0不可用"` }
TBUser 用户表
func GetAllTBUsers ¶
GetAllTBUsers 获取所有记录
Click to show internal directories.
Click to hide internal directories.