Documentation ¶
Index ¶
- func CheckUserExistById(id int) (exist bool, err error)
- func CheckUserExistByPhone(countryCode, phone string) (exist bool, err error)
- func CheckUserLogisticsDelivery(uid int64, ids []int32) ([]mysql.UserLogisticsDelivery, error)
- func CreateAccount(model *mysql.Account) (err error)
- func CreateMerchantsMaterial(model *mysql.Merchant) (err error)
- func CreateUser(user *mysql.User) (err error)
- func CreateUserLogisticsDelivery(model *mysql.UserLogisticsDelivery) error
- func CreateUserLogisticsDeliveryByTx(tx *xorm.Session, model *mysql.UserLogisticsDelivery) error
- func CreateVerifyCodeRecord(record *mysql.VerifyCodeRecord) (err error)
- func FindUserInfo(sqlSelect string, uidList []int64) ([]mysql.User, error)
- func GetMerchantIdByUid(uid int) (*mysql.Merchant, error)
- func GetMerchantsMaterial(merchantId int) (*mysql.Merchant, error)
- func GetUserByEmail(sqlSelect, email string) (*mysql.User, error)
- func GetUserByInviteCode(inviteCode string) (*mysql.User, error)
- func GetUserByPhone(sqlSelect, countryCode, phone string) (*mysql.User, error)
- func GetUserByUid(uid int) (*mysql.User, error)
- func GetUserLogisticsDelivery(sqlSelect string, id int64) (*mysql.UserLogisticsDelivery, error)
- func GetUserLogisticsDeliveryList(sqlSelect string, uid int64) ([]mysql.UserLogisticsDelivery, error)
- func GetVerifyCode(businessType int, countryCode, phone, verifyCode string) (*mysql.VerifyCodeRecord, error)
- func ListUserInfo(sqlSelect string, pageSize, pageNum int) (result []mysql.User, err error)
- func UpdateMerchantsMaterial(query, maps map[string]interface{}) (err error)
- func UpdateUserInfo(query, maps interface{}) (err error)
- func UpdateUserLogisticsDelivery(where, maps interface{}) (int64, error)
- func UpdateUserLogisticsDeliveryByTx(tx *xorm.Session, where, maps interface{}) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUserExistById ¶
func CheckUserExistByPhone ¶
func CheckUserLogisticsDelivery ¶
func CheckUserLogisticsDelivery(uid int64, ids []int32) ([]mysql.UserLogisticsDelivery, error)
func CreateAccount ¶
func CreateMerchantsMaterial ¶
func CreateUser ¶
func CreateUserLogisticsDelivery ¶
func CreateUserLogisticsDelivery(model *mysql.UserLogisticsDelivery) error
func CreateUserLogisticsDeliveryByTx ¶
func CreateUserLogisticsDeliveryByTx(tx *xorm.Session, model *mysql.UserLogisticsDelivery) error
func CreateVerifyCodeRecord ¶
func CreateVerifyCodeRecord(record *mysql.VerifyCodeRecord) (err error)
func GetUserByPhone ¶
func GetUserLogisticsDelivery ¶
func GetUserLogisticsDelivery(sqlSelect string, id int64) (*mysql.UserLogisticsDelivery, error)
func GetUserLogisticsDeliveryList ¶
func GetUserLogisticsDeliveryList(sqlSelect string, uid int64) ([]mysql.UserLogisticsDelivery, error)
func GetVerifyCode ¶
func GetVerifyCode(businessType int, countryCode, phone, verifyCode string) (*mysql.VerifyCodeRecord, error)
func ListUserInfo ¶
func UpdateMerchantsMaterial ¶
func UpdateUserInfo ¶
func UpdateUserInfo(query, maps interface{}) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.