Documentation ¶
Index ¶
- Variables
- func AddUserOnline(data map[string]interface{})
- func Admin(user_id int) map[string]ModelValue
- func AdminRole(uid int) int
- func Admins() []map[string]ModelValue
- func App(app_id int) *structure.SysApp
- func Apps() []structure.SysApp
- func Apps2() []map[string]ModelValue
- func CheckCN(nickname string) bool
- func CheckEmail(email string) bool
- func CheckIP(ip string) bool
- func CoverUpdate(table string, prikeys []string, data map[string]interface{}) bool
- func CrontabReportDay(day string) int
- func CrontabReportMinuteOnline() int
- func CrontabReportMonth(month string) int
- func DeleteAdmin(user_id int)
- func DeleteAdminGame(user_id int)
- func DeleteAllMail(pids []int)
- func DeleteAndroidLevel(gid int, rtype int)
- func DeleteAnnouncement(aid int)
- func DeleteApp(app_id int)
- func DeleteBoxesDelete(bid int)
- func DeleteForbidDeviceuid(id int)
- func DeleteFunc(func_id int)
- func DeleteFuncs(app_id int)
- func DeleteGameBlockIP(ip string)
- func DeleteGameCDNS(id string)
- func DeleteGameGoldsTyle(gsid int)
- func DeleteGameHallserver(hid int)
- func DeleteGameLiveness(livetype int, liveness int)
- func DeleteGamePets(id int)
- func DeleteGameRankStat(stars int)
- func DeleteGameRatioFactor(ratio int)
- func DeleteGameRoleExps(quality int, role_level int)
- func DeleteGameRoleSkills(quality int, skill_level int)
- func DeleteGameRoleVoices(rvid int)
- func DeleteGameRoles(roid int)
- func DeleteGameRoomStat(gid int, rtype int, gametype int)
- func DeleteGameServers(id int)
- func DeleteGameServers2(ip string)
- func DeleteGameShopConfig(id int)
- func DeleteGameSkills(id int)
- func DeleteGameTask(id int)
- func DeleteGameType(id int)
- func DeleteGameVipLevel(id int)
- func DeleteGameWinStreak(wins int)
- func DeleteGoldBlack(uid int)
- func DeleteGoldCoinCard(gameid int, days int)
- func DeleteHallNotice(id int)
- func DeleteMail(pid int)
- func DeleteMatchSeasonAwards(id int)
- func DeleteProps(pid int)
- func DeleteRole(role_id int) bool
- func DeleteRoleFuncs(role_id int) bool
- func DeleteUser(user_id int)
- func DeleteUserBox(ubid int)
- func DeleteUserFake(uid int, fakeuid int)
- func DeleteUserProps(upid int)
- func DeleteUserRoles(uroid int)
- func DeleteUserSendPost(uids []int)
- func Func(func_id int) *structure.SysAppFunction
- func Funcs(appid, rid int) []map[string]ModelValue
- func Functions() []map[string]ModelValue
- func GetAllUser() []structure.YlyUser
- func GetAnnouncement() []structure.P2pAnnouncement
- func GetAuditList() []structure.GameAudit
- func GetCode(uid int, nickname string, stime int64, etime int64, gid int) []int
- func GetConfP2pJipaiqi() []structure.ConfP2pJipaiqi
- func GetCountDate(years int, months int, days int) time.Time
- func GetDayRound(stime int64, etime int64, code []int, mytype int, start int, limit int, ...) []map[string]ModelValue
- func GetDayRoundCount(stime int64, etime int64, code []int, mytype int, ridx int, gidStr string, ...) int
- func GetDb() *xorm.Engine
- func GetDefaultRoles() []structure.GameRoles
- func GetDumbAll(state int) []structure.GameUserfield
- func GetDumbCount(begin int, end int, uid int, state int) int
- func GetDumbs(begin int, end int, uid int, state int, oc int, os string, page int, ...) []structure.UsersRelated
- func GetFeedback(ftype int, stime int, etime int, page int, pageSize int) []structure.P2pFeedback
- func GetFeedbackCount(ftype int, stime int, etime int) int
- func GetForbidByInvitor(uid int) []structure.YlyMemberWeixin
- func GetForbidCount(begin int, end int, key string, is_forbid int) int
- func GetForbidDeviceuid() []structure.YlyForbidDeviceuid
- func GetForbidDeviceuidByDevice(device string) int
- func GetForbidList(uid int, sdate int, edate int, page int, pageSize int) []structure.LogForbid
- func GetForbidListCount(uid int, sdate int, edate int) int
- func GetForbids(begin int, end int, key string, oc int, os string, page int, pageSize int, ...) []structure.UsersRelated
- func GetGameAndroidLevel() []structure.GameAndroidLevel
- func GetGameAndroidLevelByGsid(gid int, rtype int) *structure.GameAndroidLevel
- func GetGameBlockIP() []structure.GameBlockIp
- func GetGameBoxes(args ...int) []structure.GameBoxes
- func GetGameCDNS() []structure.GameCdns
- func GetGameConfig(id int) *structure.GameConfig
- func GetGameGoldsType() []*structure.GameGoldsType
- func GetGameHallServer() []structure.GameHallserver
- func GetGameLiveness() []structure.GameLiveness
- func GetGamePets() []structure.GamePets
- func GetGameProps() []structure.GameProps
- func GetGameRankStat() []structure.GameRankStat
- func GetGameRatioFactor() []structure.GameRatioFactor
- func GetGameRoleExps() []structure.GameRoleExps
- func GetGameRoleSkills() []structure.GameRoleSkills
- func GetGameRoleVoices() []structure.GameRoleVoices
- func GetGameRoles() []structure.GameRoles
- func GetGameRoomStat() []structure.GameRoomStat
- func GetGameServers() []structure.GameServers
- func GetGameServers2() []structure.GameServers2
- func GetGameShopConfig(args ...int) []structure.GameShopConfig
- func GetGameSkills() []structure.GameSkills
- func GetGameTask(ttype int) []structure.GameTask
- func GetGameType() []structure.GameType
- func GetGameVipLevel() []*structure.GameVipLevel
- func GetGameWinStreak() []structure.GameWinStreak
- func GetGoldsRank() []structure.UserGoldsRank
- func GetGradeLastRank(season int) *structure.UserSeasonRank
- func GetGradeRankStars(season, rank int) int
- func GetHallNotice(htype int, page int, pageSize int) []structure.GameHallNotice
- func GetHallNoticeById(id int) *structure.GameHallNotice
- func GetHallNoticeCount(htype int) int
- func GetLogVipLevel(uid int) []*structure.LogVipLevel
- func GetMail(key string, fromid int, toid int, isShow int, page int, pageSize int) []structure.YlyPost
- func GetMailCount(key string, fromid int, toid int, isShow int) int
- func GetMatchGradeSeason() int
- func GetMatchGradeUserRecord(uid, limit int) []structure.LogCreateUserRankLiushui
- func GetMatchSeasonAwards(args ...int) []structure.MatchSeasonAwards
- func GetMemberByID(uid int) *structure.YlyMember
- func GetMemberMobile(uid int, deviceuid string) *structure.YlyMemberMobile
- func GetMobileUser(uid int) *structure.YlyMemberMobile
- func GetOnlineNum(date int, start int, end int) []structure.LogOnlineNum
- func GetOnlineUsers() []structure.YlyOnline
- func GetOpeningTimeBoxes(uid, nowtime int) []*structure.UserBoxesRelated
- func GetReportServerFeedback(start string, end string) []structure.ReportDayServerFeedback
- func GetSeasonLastAwards(season int) string
- func GetSeasonRank(season int) []structure.UserSeasonRank
- func GetSeasonRankByUid(season, uid int) *structure.UserSeasonRank
- func GetSeasonRankState(season int) int
- func GetSeasonScoreRanks(season, num int) []structure.UserMatchScore
- func GetServerFeedback(day int) []map[string]ModelValue
- func GetTestUsers(offset, pageSize int) []structure.YlyUser
- func GetUIDByADID(adid, duid string) int
- func GetUserAchievement(uid int) *structure.UserAchievement
- func GetUserBoxes(uid int, args ...int) []structure.UserBoxesRelated
- func GetUserByID(uid int) *structure.YlyUser
- func GetUserByName(username string) *structure.YlyUser
- func GetUserByNickname(nickname string) *structure.YlyUser
- func GetUserCount() int64
- func GetUserFakeList() []structure.YlyMemberFake
- func GetUserForbid() []structure.YlyMember
- func GetUserGameInfo(uid int) *structure.UserGameInfo
- func GetUserLotteryBoxTimes(uid, bid int, begin, end int64) int
- func GetUserMailByPid(pid int) *structure.YlyPost
- func GetUserMailByToid(uid int) []structure.YlyPost
- func GetUserMatchScore(season, uid int) *structure.UserMatchScore
- func GetUserProps(uid int, args ...int) []structure.UserPropsRelated
- func GetUserPropsNum(uid int) int
- func GetUserRepeatRrops(uid int) []structure.UserPropsRelated
- func GetUserRoleVoices(roid, skillLevel int) []structure.GameRoleVoices
- func GetUserRoles(uid int, args ...int) []structure.UserRolesRelated
- func GetUserSendPost() []structure.UserSendPost
- func GetUserServerIp(uid int) string
- func GetValType(val interface{}) string
- func GetWeixinUserInvitor(uid int) int
- func GetWeixinUserUnionID(uid int) string
- func GetYlyPostByPid(pid int) []structure.YlyPost
- func GoldBlac(key int, page int, pageSize int) []structure.GoldsBlacklist
- func GoldBlacCount(key int) int
- func HallNotice(appid int) []structure.GameHallNotice
- func IfcToFloat64(i interface{}) float64
- func IfcToInt(i interface{}) int
- func IfcToInt64(i interface{}) int64
- func IfcToString(i interface{}) string
- func IncreUpdate(table string, prikeys []string, data map[string]interface{}) bool
- func InsertAdmin(admin *structure.SysAdminUser) bool
- func InsertAllMail(data []structure.YlyPost) bool
- func InsertAndroidLevel(data *structure.GameAndroidLevel) int
- func InsertAnnouncement(data *structure.P2pAnnouncement) int
- func InsertApp(app *structure.SysApp)
- func InsertConfigLogin(data *structure.LogConfigLogin) bool
- func InsertFeedback(data *structure.P2pFeedback) int
- func InsertForbidDeviceuid(data *structure.YlyForbidDeviceuid) bool
- func InsertForbidLog(data map[string]interface{}) bool
- func InsertFunc(funcs *structure.SysAppFunction)
- func InsertGameBlockIP(data *structure.GameBlockIp) bool
- func InsertGameBoxes(data *structure.GameBoxes) int
- func InsertGameCDNS(data *structure.GameCdns) string
- func InsertGameGoldsType(data *structure.GameGoldsType) int
- func InsertGameHallserver(data *structure.GameHallserver) bool
- func InsertGameLiveness(data *structure.GameLiveness) bool
- func InsertGamePets(data *structure.GamePets) int
- func InsertGameProps(data *structure.GameProps) int
- func InsertGameRankStat(data *structure.GameRankStat) int
- func InsertGameRatioFactor(data *structure.GameRatioFactor) bool
- func InsertGameRoleExps(data *structure.GameRoleExps) int
- func InsertGameRoleSkills(data *structure.GameRoleSkills) int
- func InsertGameRoleVoices(data *structure.GameRoleVoices) int
- func InsertGameRoles(data *structure.GameRoles) int
- func InsertGameRoomStat(data *structure.GameRoomStat) int
- func InsertGameServers(data *structure.GameServers) int
- func InsertGameServers2(data *structure.GameServers2) string
- func InsertGameShopConfig(data *structure.GameShopConfig) int
- func InsertGameSkills(data *structure.GameSkills) int
- func InsertGameTask(data *structure.GameTask) int
- func InsertGameType(data *structure.GameType) int
- func InsertGameVipLevel(data *structure.GameVipLevel) bool
- func InsertGameWinStreak(data *structure.GameWinStreak) bool
- func InsertGoldBlac(data *structure.GoldsBlacklist) int
- func InsertGoldCoinCard(data *structure.ConfP2pJipaiqi) int
- func InsertHallNotice(data *structure.GameHallNotice) bool
- func InsertLogVipLevel(data *structure.LogVipLevel)
- func InsertMail(data *structure.YlyPost) int
- func InsertMatchSeasonAwards(data *structure.MatchSeasonAwards) int
- func InsertMemeberMobile(data *structure.YlyMemberMobile) bool
- func InsertMobileLogin(data *structure.LogMobileLogin) bool
- func InsertMobileLogin2(uid int, ip string)
- func InsertMotor(data *structure.YlyMotor)
- func InsertRecurringUser(data *structure.LogRecurringUser) int
- func InsertRegisterIp(ip string)
- func InsertRole(role *structure.SysRole) int
- func InsertRoleFuncs(rolefuncs *structure.SysRoleFunction)
- func InsertServerFeedBack(uid int, day, server, ip string) bool
- func InsertUser(user *structure.YlyMember) bool
- func InsertUserAchievement(data *structure.UserAchievement) bool
- func InsertUserBox(data *structure.UserBoxes) bool
- func InsertUserFake(data *structure.YlyMemberFake) int
- func InsertUserLotteryBox(data *structure.LogLotteryCards) bool
- func InsertUserPropsLog(data *structure.LogUserProps)
- func InsertUserRoles(data *structure.UserRoles) bool
- func InsertUserSendPost(data []structure.UserSendPost) bool
- func InsertUserfield(data *structure.GameUserfield) bool
- func Int64ToString(valint int64) string
- func Int64Toint(valint int64) int
- func LogUserDayLogin(uid, day int)
- func LogUserLogin(login *structure.LogUserLogin) int64
- func MapArrToMV(ms []map[string]interface{}) []map[string]ModelValue
- func MapFaceToMV(m map[string]interface{}) map[string]ModelValue
- func Napps() []map[string]ModelValue
- func RemoveUserOnline(uid int)
- func Role(role_id int) *structure.SysRole
- func Roles() []structure.SysRole
- func RolesAll() []structure.SysRole
- func StrToTime(str string, tpl string) int64
- func StringToInt(valstr string) int
- func Time() int
- func UpdateAdmin(user_id int, admin *structure.SysAdminUser) bool
- func UpdateAndroidLevel(gid int, rtype int, data *structure.GameAndroidLevel) bool
- func UpdateAnnouncement(aid int, data *structure.P2pAnnouncement)
- func UpdateApp(app_id int, app *structure.SysApp)
- func UpdateDumb(uid int, data map[string]interface{}, state int) bool
- func UpdateFeedback(id int)
- func UpdateFunc(func_id int, funcs *structure.SysAppFunction)
- func UpdateGameBlockIP(ip string, data *structure.GameBlockIp) bool
- func UpdateGameBoxes(bid int, data *structure.GameBoxes) bool
- func UpdateGameCDNS(id string, data *structure.GameCdns) bool
- func UpdateGameConfig(id, v int, t string)
- func UpdateGameGoldsType(gsid int, data *structure.GameGoldsType) bool
- func UpdateGameHallserver(hid int, data *structure.GameHallserver) bool
- func UpdateGameLiveness(livetype int, liveness int, data *structure.GameLiveness) bool
- func UpdateGamePets(id int, data *structure.GamePets) bool
- func UpdateGameProps(pid int, data *structure.GameProps) bool
- func UpdateGameRankStat(stars int, data *structure.GameRankStat) bool
- func UpdateGameRatioFactor(ratio int, data *structure.GameRatioFactor) bool
- func UpdateGameRoleExps(quality int, role_level int, data *structure.GameRoleExps) bool
- func UpdateGameRoleSkills(quality int, skill_level int, data *structure.GameRoleSkills) bool
- func UpdateGameRoleVoices(rvid int, data *structure.GameRoleVoices) bool
- func UpdateGameRoles(roid int, data *structure.GameRoles) bool
- func UpdateGameRoomStat(gid int, rtype int, gametype int, data *structure.GameRoomStat) bool
- func UpdateGameServers(id int, data *structure.GameServers) bool
- func UpdateGameServers2(ip string, data *structure.GameServers2) bool
- func UpdateGameShopConfig(id int, data *structure.GameShopConfig) bool
- func UpdateGameSkills(id int, data *structure.GameSkills) bool
- func UpdateGameTask(id int, data *structure.GameTask) bool
- func UpdateGameType(id int, data *structure.GameType) bool
- func UpdateGameVipLevel(id int, data *structure.GameVipLevel) bool
- func UpdateGameWinStreak(wins int, data *structure.GameWinStreak) bool
- func UpdateGoldCoinCard(gameid int, days int, data *structure.ConfP2pJipaiqi) bool
- func UpdateHallNotice(id int, data *structure.GameHallNotice) bool
- func UpdateLogVipLevel(uid, level int, data map[string]interface{}) bool
- func UpdateMatchGradeSeason(season int, data map[string]interface{}) bool
- func UpdateMatchSeasonAwards(id int, data *structure.MatchSeasonAwards) bool
- func UpdateMemberMobile(uid int, deviceuid string, data map[string]interface{}) bool
- func UpdateMemberOpenID(appid, uid int, openid string)
- func UpdatePageDowns(pp string) int
- func UpdatePageEnters(pp string) int
- func UpdateRole(role_id int, role *structure.SysRole) bool
- func UpdateSeasonNonRanks(season int, data map[string]interface{}) bool
- func UpdateUser(user_id int, data map[string]interface{}) bool
- func UpdateUserAchievement(uid int, data map[string]interface{}) bool
- func UpdateUserAllEmails(pids []int, data map[string]interface{}) bool
- func UpdateUserBoxes(ubid int, data map[string]interface{}) bool
- func UpdateUserEmails(pid int, data *structure.YlyPost) bool
- func UpdateUserFake(id int, data *structure.YlyMemberFake) bool
- func UpdateUserField(uid int, data map[string]interface{}) bool
- func UpdateUserMatchScore(season, uid int, data map[string]interface{}) bool
- func UpdateUserProps(upid int, data *structure.UserProps) bool
- func UpdateUserRoles(uroid int, data map[string]interface{}) bool
- func UserCheck(key string) *structure.YlyUser
- func UserFuncOps(uid int) []map[string]interface{}
- func UserFunction(role_id int) []map[string]ModelValue
- func UserGames(uid int) []structure.SysAdminUserGame
- func Users(begin, end, key string, oc int, os string, page int, pageSize int) []structure.YlyUser
- func UsersCount(begin, end, key string, oc int, os string) int
- type AdminInfo
- type ModelValue
- type PageTotal
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DB *dbm
)
Functions ¶
func AddUserOnline ¶
func AddUserOnline(data map[string]interface{})
func Admin ¶
func Admin(user_id int) map[string]ModelValue
func Admins ¶
func Admins() []map[string]ModelValue
func Apps2 ¶
func Apps2() []map[string]ModelValue
func CheckEmail ¶
func CoverUpdate ¶
CoverUpdate 表覆盖更新
func CrontabReportDay ¶
func CrontabReportMinuteOnline ¶
func CrontabReportMinuteOnline() int
func CrontabReportMonth ¶
func DeleteAdmin ¶
func DeleteAdmin(user_id int)
func DeleteAdminGame ¶
func DeleteAdminGame(user_id int)
func DeleteAllMail ¶
func DeleteAllMail(pids []int)
func DeleteAndroidLevel ¶
func DeleteAnnouncement ¶
func DeleteAnnouncement(aid int)
func DeleteBoxesDelete ¶
func DeleteBoxesDelete(bid int)
func DeleteForbidDeviceuid ¶
func DeleteForbidDeviceuid(id int)
func DeleteFunc ¶
func DeleteFunc(func_id int)
func DeleteFuncs ¶
func DeleteFuncs(app_id int)
func DeleteGameBlockIP ¶
func DeleteGameBlockIP(ip string)
func DeleteGameCDNS ¶
func DeleteGameCDNS(id string)
func DeleteGameGoldsTyle ¶
func DeleteGameGoldsTyle(gsid int)
func DeleteGameHallserver ¶
func DeleteGameHallserver(hid int)
func DeleteGameLiveness ¶
func DeleteGamePets ¶
func DeleteGamePets(id int)
func DeleteGameRankStat ¶
func DeleteGameRankStat(stars int)
func DeleteGameRatioFactor ¶
func DeleteGameRatioFactor(ratio int)
func DeleteGameRoleExps ¶
func DeleteGameRoleSkills ¶
func DeleteGameRoleVoices ¶
func DeleteGameRoleVoices(rvid int)
func DeleteGameRoles ¶
func DeleteGameRoles(roid int)
func DeleteGameRoomStat ¶
func DeleteGameServers ¶
func DeleteGameServers(id int)
func DeleteGameServers2 ¶
func DeleteGameServers2(ip string)
func DeleteGameShopConfig ¶
func DeleteGameShopConfig(id int)
func DeleteGameSkills ¶
func DeleteGameSkills(id int)
func DeleteGameTask ¶
func DeleteGameTask(id int)
func DeleteGameType ¶
func DeleteGameType(id int)
func DeleteGameVipLevel ¶
func DeleteGameVipLevel(id int)
func DeleteGameWinStreak ¶
func DeleteGameWinStreak(wins int)
func DeleteGoldBlack ¶
func DeleteGoldBlack(uid int)
func DeleteGoldCoinCard ¶
func DeleteHallNotice ¶
func DeleteHallNotice(id int)
func DeleteMail ¶
func DeleteMail(pid int)
func DeleteMatchSeasonAwards ¶
func DeleteMatchSeasonAwards(id int)
func DeleteProps ¶
func DeleteProps(pid int)
func DeleteRole ¶
func DeleteRoleFuncs ¶
func DeleteUser ¶
func DeleteUser(user_id int)
func DeleteUserBox ¶
func DeleteUserBox(ubid int)
func DeleteUserFake ¶
func DeleteUserProps ¶
func DeleteUserProps(upid int)
func DeleteUserRoles ¶
func DeleteUserRoles(uroid int)
func DeleteUserSendPost ¶
func DeleteUserSendPost(uids []int)
func Func ¶
func Func(func_id int) *structure.SysAppFunction
func Funcs ¶
func Funcs(appid, rid int) []map[string]ModelValue
func Functions ¶
func Functions() []map[string]ModelValue
func GetAllUser ¶
func GetAnnouncement ¶
func GetAnnouncement() []structure.P2pAnnouncement
func GetDayRound ¶
func GetDayRoundCount ¶
func GetDefaultRoles ¶
func GetDumbAll ¶
func GetDumbAll(state int) []structure.GameUserfield
func GetFeedback ¶
func GetForbidByInvitor ¶
func GetForbidByInvitor(uid int) []structure.YlyMemberWeixin
func GetForbidDeviceuid ¶
func GetForbidDeviceuid() []structure.YlyForbidDeviceuid
func GetForbidList ¶
func GetForbids ¶
func GetGameAndroidLevelByGsid ¶
func GetGameAndroidLevelByGsid(gid int, rtype int) *structure.GameAndroidLevel
func GetGameBlockIP ¶
func GetGameBlockIP() []structure.GameBlockIp
func GetGameBoxes ¶
func GetGameConfig ¶
func GetGameConfig(id int) *structure.GameConfig
func GetGameGoldsType ¶
func GetGameGoldsType() []*structure.GameGoldsType
func GetGameHallServer ¶
func GetGameHallServer() []structure.GameHallserver
func GetGameLiveness ¶
func GetGameLiveness() []structure.GameLiveness
func GetGamePets ¶
func GetGameProps ¶
func GetGameRatioFactor ¶
func GetGameRatioFactor() []structure.GameRatioFactor
func GetGameRoleExps ¶
func GetGameRoleExps() []structure.GameRoleExps
func GetGameRoleSkills ¶
func GetGameRoleSkills() []structure.GameRoleSkills
func GetGameRoles ¶
func GetGameRoomStat ¶
func GetGameRoomStat() []structure.GameRoomStat
func GetGameShopConfig ¶
func GetGameShopConfig(args ...int) []structure.GameShopConfig
func GetGameSkills ¶
func GetGameSkills() []structure.GameSkills
func GetGameTask ¶
func GetGameVipLevel ¶
func GetGameVipLevel() []*structure.GameVipLevel
func GetGameWinStreak ¶
func GetGameWinStreak() []structure.GameWinStreak
func GetGoldsRank ¶
func GetGoldsRank() []structure.UserGoldsRank
func GetGradeLastRank ¶
func GetGradeLastRank(season int) *structure.UserSeasonRank
func GetGradeRankStars ¶
func GetHallNotice ¶
func GetHallNotice(htype int, page int, pageSize int) []structure.GameHallNotice
大厅公告管理
func GetHallNoticeById ¶
func GetHallNoticeById(id int) *structure.GameHallNotice
func GetHallNoticeCount ¶
func GetLogVipLevel ¶
func GetLogVipLevel(uid int) []*structure.LogVipLevel
func GetMatchGradeSeason ¶
func GetMatchGradeSeason() int
func GetMatchGradeUserRecord ¶
func GetMatchGradeUserRecord(uid, limit int) []structure.LogCreateUserRankLiushui
获取排位赛个人记录
func GetMatchSeasonAwards ¶
func GetMatchSeasonAwards(args ...int) []structure.MatchSeasonAwards
func GetMemberByID ¶
func GetMemberMobile ¶
func GetMemberMobile(uid int, deviceuid string) *structure.YlyMemberMobile
func GetMobileUser ¶
func GetMobileUser(uid int) *structure.YlyMemberMobile
func GetOnlineNum ¶
func GetOnlineNum(date int, start int, end int) []structure.LogOnlineNum
func GetOnlineUsers ¶
func GetOpeningTimeBoxes ¶
func GetOpeningTimeBoxes(uid, nowtime int) []*structure.UserBoxesRelated
func GetReportServerFeedback ¶
func GetReportServerFeedback(start string, end string) []structure.ReportDayServerFeedback
大厅服务器连接失败日志
func GetSeasonLastAwards ¶
func GetSeasonRank ¶
func GetSeasonRank(season int) []structure.UserSeasonRank
func GetSeasonRankByUid ¶
func GetSeasonRankByUid(season, uid int) *structure.UserSeasonRank
func GetSeasonRankState ¶
func GetSeasonScoreRanks ¶
func GetSeasonScoreRanks(season, num int) []structure.UserMatchScore
func GetTestUsers ¶
func GetUIDByADID ¶
func GetUserAchievement ¶
func GetUserAchievement(uid int) *structure.UserAchievement
GetUserAchievement 获取用户成就
func GetUserBoxes ¶
func GetUserBoxes(uid int, args ...int) []structure.UserBoxesRelated
func GetUserByID ¶
func GetUserByName ¶
func GetUserByNickname ¶
func GetUserCount ¶
func GetUserCount() int64
func GetUserForbid ¶
func GetUserGameInfo ¶
func GetUserGameInfo(uid int) *structure.UserGameInfo
func GetUserLotteryBoxTimes ¶
计算用户抽卡宝箱已经抽卡次数
func GetUserMailByPid ¶
func GetUserMailByToid ¶
func GetUserMatchScore ¶
func GetUserMatchScore(season, uid int) *structure.UserMatchScore
func GetUserProps ¶
func GetUserProps(uid int, args ...int) []structure.UserPropsRelated
func GetUserPropsNum ¶
func GetUserRepeatRrops ¶
func GetUserRepeatRrops(uid int) []structure.UserPropsRelated
func GetUserRoleVoices ¶
func GetUserRoleVoices(roid, skillLevel int) []structure.GameRoleVoices
func GetUserRoles ¶
func GetUserRoles(uid int, args ...int) []structure.UserRolesRelated
func GetUserSendPost ¶
func GetUserSendPost() []structure.UserSendPost
func GetUserServerIp ¶
func GetValType ¶
func GetValType(val interface{}) string
func GetWeixinUserUnionID ¶
func GetYlyPostByPid ¶
func GoldBlacCount ¶
func HallNotice ¶
func HallNotice(appid int) []structure.GameHallNotice
func IfcToFloat64 ¶
func IfcToFloat64(i interface{}) float64
func IfcToInt64 ¶
func IfcToInt64(i interface{}) int64
func IfcToString ¶
func IfcToString(i interface{}) string
func IncreUpdate ¶
IncreUpdate 表累加更新
func InsertAdmin ¶
func InsertAdmin(admin *structure.SysAdminUser) bool
func InsertAllMail ¶
func InsertAndroidLevel ¶
func InsertAndroidLevel(data *structure.GameAndroidLevel) int
func InsertAnnouncement ¶
func InsertAnnouncement(data *structure.P2pAnnouncement) int
func InsertConfigLogin ¶
func InsertConfigLogin(data *structure.LogConfigLogin) bool
func InsertFeedback ¶
func InsertFeedback(data *structure.P2pFeedback) int
func InsertForbidDeviceuid ¶
func InsertForbidDeviceuid(data *structure.YlyForbidDeviceuid) bool
func InsertForbidLog ¶
func InsertFunc ¶
func InsertFunc(funcs *structure.SysAppFunction)
func InsertGameBlockIP ¶
func InsertGameBlockIP(data *structure.GameBlockIp) bool
func InsertGameBoxes ¶
func InsertGameCDNS ¶
func InsertGameGoldsType ¶
func InsertGameGoldsType(data *structure.GameGoldsType) int
func InsertGameHallserver ¶
func InsertGameHallserver(data *structure.GameHallserver) bool
func InsertGameLiveness ¶
func InsertGameLiveness(data *structure.GameLiveness) bool
func InsertGamePets ¶
func InsertGameProps ¶
func InsertGameRankStat ¶
func InsertGameRankStat(data *structure.GameRankStat) int
func InsertGameRatioFactor ¶
func InsertGameRatioFactor(data *structure.GameRatioFactor) bool
func InsertGameRoleExps ¶
func InsertGameRoleExps(data *structure.GameRoleExps) int
func InsertGameRoleSkills ¶
func InsertGameRoleSkills(data *structure.GameRoleSkills) int
func InsertGameRoleVoices ¶
func InsertGameRoleVoices(data *structure.GameRoleVoices) int
func InsertGameRoles ¶
func InsertGameRoomStat ¶
func InsertGameRoomStat(data *structure.GameRoomStat) int
func InsertGameServers ¶
func InsertGameServers(data *structure.GameServers) int
func InsertGameServers2 ¶
func InsertGameServers2(data *structure.GameServers2) string
func InsertGameShopConfig ¶
func InsertGameShopConfig(data *structure.GameShopConfig) int
func InsertGameSkills ¶
func InsertGameSkills(data *structure.GameSkills) int
func InsertGameTask ¶
func InsertGameType ¶
func InsertGameVipLevel ¶
func InsertGameVipLevel(data *structure.GameVipLevel) bool
func InsertGameWinStreak ¶
func InsertGameWinStreak(data *structure.GameWinStreak) bool
func InsertGoldBlac ¶
func InsertGoldBlac(data *structure.GoldsBlacklist) int
func InsertGoldCoinCard ¶
func InsertGoldCoinCard(data *structure.ConfP2pJipaiqi) int
func InsertHallNotice ¶
func InsertHallNotice(data *structure.GameHallNotice) bool
func InsertLogVipLevel ¶
func InsertLogVipLevel(data *structure.LogVipLevel)
func InsertMail ¶
func InsertMatchSeasonAwards ¶
func InsertMatchSeasonAwards(data *structure.MatchSeasonAwards) int
func InsertMemeberMobile ¶
func InsertMemeberMobile(data *structure.YlyMemberMobile) bool
func InsertMobileLogin ¶
func InsertMobileLogin(data *structure.LogMobileLogin) bool
func InsertMobileLogin2 ¶
func InsertMotor ¶
func InsertRecurringUser ¶
func InsertRecurringUser(data *structure.LogRecurringUser) int
InsertRecurringUser 插入回流用户
func InsertRegisterIp ¶
func InsertRegisterIp(ip string)
func InsertRole ¶
func InsertRoleFuncs ¶
func InsertRoleFuncs(rolefuncs *structure.SysRoleFunction)
func InsertServerFeedBack ¶
func InsertUser ¶
func InsertUserAchievement ¶
func InsertUserAchievement(data *structure.UserAchievement) bool
func InsertUserBox ¶
func InsertUserFake ¶
func InsertUserFake(data *structure.YlyMemberFake) int
func InsertUserLotteryBox ¶
func InsertUserLotteryBox(data *structure.LogLotteryCards) bool
func InsertUserPropsLog ¶
func InsertUserPropsLog(data *structure.LogUserProps)
func InsertUserRoles ¶
func InsertUserSendPost ¶
func InsertUserSendPost(data []structure.UserSendPost) bool
func InsertUserfield ¶
func InsertUserfield(data *structure.GameUserfield) bool
func Int64ToString ¶
func Int64Toint ¶
func LogUserDayLogin ¶
func LogUserDayLogin(uid, day int)
func LogUserLogin ¶
func LogUserLogin(login *structure.LogUserLogin) int64
func MapArrToMV ¶
func MapArrToMV(ms []map[string]interface{}) []map[string]ModelValue
func MapFaceToMV ¶
func MapFaceToMV(m map[string]interface{}) map[string]ModelValue
func Napps ¶
func Napps() []map[string]ModelValue
func RemoveUserOnline ¶
func RemoveUserOnline(uid int)
func StringToInt ¶
func UpdateAdmin ¶
func UpdateAdmin(user_id int, admin *structure.SysAdminUser) bool
func UpdateAndroidLevel ¶
func UpdateAndroidLevel(gid int, rtype int, data *structure.GameAndroidLevel) bool
func UpdateAnnouncement ¶
func UpdateAnnouncement(aid int, data *structure.P2pAnnouncement)
func UpdateFeedback ¶
func UpdateFeedback(id int)
func UpdateFunc ¶
func UpdateFunc(func_id int, funcs *structure.SysAppFunction)
func UpdateGameBlockIP ¶
func UpdateGameBlockIP(ip string, data *structure.GameBlockIp) bool
func UpdateGameConfig ¶
func UpdateGameGoldsType ¶
func UpdateGameGoldsType(gsid int, data *structure.GameGoldsType) bool
func UpdateGameHallserver ¶
func UpdateGameHallserver(hid int, data *structure.GameHallserver) bool
func UpdateGameLiveness ¶
func UpdateGameLiveness(livetype int, liveness int, data *structure.GameLiveness) bool
func UpdateGameRankStat ¶
func UpdateGameRankStat(stars int, data *structure.GameRankStat) bool
func UpdateGameRatioFactor ¶
func UpdateGameRatioFactor(ratio int, data *structure.GameRatioFactor) bool
func UpdateGameRoleExps ¶
func UpdateGameRoleExps(quality int, role_level int, data *structure.GameRoleExps) bool
func UpdateGameRoleSkills ¶
func UpdateGameRoleSkills(quality int, skill_level int, data *structure.GameRoleSkills) bool
func UpdateGameRoleVoices ¶
func UpdateGameRoleVoices(rvid int, data *structure.GameRoleVoices) bool
func UpdateGameRoomStat ¶
func UpdateGameServers ¶
func UpdateGameServers(id int, data *structure.GameServers) bool
func UpdateGameServers2 ¶
func UpdateGameServers2(ip string, data *structure.GameServers2) bool
func UpdateGameShopConfig ¶
func UpdateGameShopConfig(id int, data *structure.GameShopConfig) bool
func UpdateGameSkills ¶
func UpdateGameSkills(id int, data *structure.GameSkills) bool
func UpdateGameVipLevel ¶
func UpdateGameVipLevel(id int, data *structure.GameVipLevel) bool
func UpdateGameWinStreak ¶
func UpdateGameWinStreak(wins int, data *structure.GameWinStreak) bool
func UpdateGoldCoinCard ¶
func UpdateGoldCoinCard(gameid int, days int, data *structure.ConfP2pJipaiqi) bool
func UpdateHallNotice ¶
func UpdateHallNotice(id int, data *structure.GameHallNotice) bool
func UpdateLogVipLevel ¶
func UpdateMatchGradeSeason ¶
func UpdateMatchSeasonAwards ¶
func UpdateMatchSeasonAwards(id int, data *structure.MatchSeasonAwards) bool
func UpdateMemberMobile ¶
func UpdateMemberOpenID ¶
func UpdatePageDowns ¶
func UpdatePageEnters ¶
func UpdateSeasonNonRanks ¶
func UpdateUser ¶
func UpdateUserAchievement ¶
UpdateUserAchievement 更新用户成就
func UpdateUserAllEmails ¶
func UpdateUserBoxes ¶
func UpdateUserFake ¶
func UpdateUserFake(id int, data *structure.YlyMemberFake) bool
func UpdateUserField ¶
func UpdateUserMatchScore ¶
func UpdateUserRoles ¶
func UserFuncOps ¶
func UserFunction ¶
func UserFunction(role_id int) []map[string]ModelValue
func UserGames ¶
func UserGames(uid int) []structure.SysAdminUserGame
Types ¶
type ModelValue ¶
func FaceToMV ¶
func FaceToMV(i interface{}) ModelValue
Click to show internal directories.
Click to hide internal directories.