Documentation ¶
Index ¶
- Constants
- func AccumulateInviteInfos(c *gin.Context)
- func ActiveAd(c *gin.Context)
- func AddFriend(c *gin.Context)
- func AddFriendNotConfirm(c *gin.Context)
- func AdminAccount(c *gin.Context)
- func AdminAuthMiddleWare() gin.HandlerFunc
- func AdminLogin(c *gin.Context)
- func AdminOperateLog(c *gin.Context)
- func AdminRoomsCount(c *gin.Context)
- func AdminRoomsList(c *gin.Context)
- func AdminSetPermission(c *gin.Context)
- func AdminUsersCount(c *gin.Context)
- func AdminUsersList(c *gin.Context)
- func Advertisement(c *gin.Context)
- func AllTickerSymbol(c *gin.Context)
- func AppConfig(c *gin.Context)
- func AppInfo(c *gin.Context)
- func AppOpen(c *gin.Context)
- func AppSpecificVersionAsPlatform(c *gin.Context)
- func AppSpecificVersionDetails(c *gin.Context)
- func AppUpdate(c *gin.Context)
- func AppVersionDetails(c *gin.Context)
- func AuthMiddleWare() gin.HandlerFunc
- func Balance(c *gin.Context)
- func BanRoom(c *gin.Context)
- func BanRoomCancel(c *gin.Context)
- func BanUser(c *gin.Context)
- func BanUserCancel(c *gin.Context)
- func BatchJoinRoomApply(c *gin.Context)
- func BlockFriend(c *gin.Context)
- func CheckAnswer(c *gin.Context)
- func CheckNumber(v *validator.Validate, topStruct reflect.Value, ...) bool
- func ClearlySearch(c *gin.Context)
- func CoinSupport(c *gin.Context)
- func Confirm(c *gin.Context)
- func Cors() gin.HandlerFunc
- func CreateAd(c *gin.Context)
- func CreateRoom(c *gin.Context)
- func DeleteAd(c *gin.Context)
- func DeleteFriend(c *gin.Context)
- func EditReward(c *gin.Context)
- func ExportAppSpecificVersionDetails(c *gin.Context)
- func ExportAppVersionDetails(c *gin.Context)
- func ExportSumDetails(c *gin.Context)
- func FindUserSession(c *gin.Context)
- func ForwardEncryptMsg(c *gin.Context)
- func ForwardMsg(c *gin.Context)
- func FriendBlockList(c *gin.Context)
- func FriendChatLog(c *gin.Context)
- func FriendFliesLog(c *gin.Context)
- func FriendInfo(c *gin.Context)
- func FriendList(c *gin.Context)
- func FriendPhotosLog(c *gin.Context)
- func FriendSetDND(c *gin.Context)
- func FriendSetExtRemark(c *gin.Context)
- func FriendSetRemark(c *gin.Context)
- func FriendSetTop(c *gin.Context)
- func GetAllAd(c *gin.Context)
- func GetAllFriendUnreadMsg(c *gin.Context)
- func GetAppVersions(c *gin.Context)
- func GetApplyList(c *gin.Context)
- func GetCoinInfo(c *gin.Context)
- func GetExcel(c *gin.Context)
- func GetLimit(c *gin.Context)
- func GetOnlineNumber(c *gin.Context)
- func GetOssConfig(c *gin.Context)
- func GetRoomChatLog(c *gin.Context)
- func GetRoomFileList(c *gin.Context)
- func GetRoomInfo(c *gin.Context)
- func GetRoomList(c *gin.Context)
- func GetRoomPhotoList(c *gin.Context)
- func GetRoomSearchMember(c *gin.Context)
- func GetRoomUserInfo(c *gin.Context)
- func GetRoomUserList(c *gin.Context)
- func GetSystemMsg(c *gin.Context)
- func GetUnreadApplyNumber(c *gin.Context)
- func GetUserClientNums(c *gin.Context)
- func GetUserNums(c *gin.Context)
- func HandleFriendRequest(c *gin.Context)
- func Init(c *types.Config) *gin.Engine
- func InviteStatistics(c *gin.Context)
- func IsChain(c *gin.Context)
- func IsFriend(c *gin.Context)
- func JoinRoomApply(c *gin.Context)
- func JoinRoomApprove(c *gin.Context)
- func JoinRoomInvite(c *gin.Context)
- func KickOutRoom(c *gin.Context)
- func LatestData(c *gin.Context)
- func LatestDataPlatfrom(c *gin.Context)
- func LeaderBoard(c *gin.Context)
- func LeaderBoardHistory(c *gin.Context)
- func LoginOutRoom(c *gin.Context)
- func ModuleEnable(c *gin.Context)
- func OssUpdate(c *gin.Context)
- func ParseHeaderMiddleWare() gin.HandlerFunc
- func Payment(c *gin.Context)
- func PersonalVerifyList(c *gin.Context)
- func PhoneLogin(context *gin.Context)
- func Ping(c *gin.Context)
- func PraiseDetailList(c *gin.Context)
- func PraiseDetails(c *gin.Context)
- func PraiseLike(c *gin.Context)
- func PraiseList(c *gin.Context)
- func PraiseReward(c *gin.Context)
- func PraiseRewardUser(c *gin.Context)
- func PrintScreen(c *gin.Context)
- func Push(c *gin.Context)
- func Question(c *gin.Context)
- func RPFeeConfig(c *gin.Context)
- func RPFeeStatistics(c *gin.Context)
- func RPStatistics(c *gin.Context)
- func ReadSnapMsg(c *gin.Context)
- func ReceiveEntry(c *gin.Context)
- func RecommendRooms(c *gin.Context)
- func RedEnvelopeDetail(c *gin.Context)
- func RedEnvelopeReceiveDetail(c *gin.Context)
- func RemoveRoom(c *gin.Context)
- func RespMiddleWare() gin.HandlerFunc
- func RevokeFiles(c *gin.Context)
- func RevokeMsg(c *gin.Context)
- func RewardList(c *gin.Context)
- func RewardRule(c *gin.Context)
- func RewardStatistics(c *gin.Context)
- func RoomSessionKey(c *gin.Context)
- func RoomVerificationState(c *gin.Context)
- func RoomVerifyList(c *gin.Context)
- func SaveGTCid(c *gin.Context)
- func Send(c *gin.Context)
- func SendCode(context *gin.Context)
- func SetAdName(c *gin.Context)
- func SetInviteConfirm(c *gin.Context)
- func SetLevel(c *gin.Context)
- func SetLimit(c *gin.Context)
- func SetMemberNickname(c *gin.Context)
- func SetNoDisturbing(c *gin.Context)
- func SetRPFeeConfig(c *gin.Context)
- func SetRecommend(c *gin.Context)
- func SetRoomAvatar(c *gin.Context)
- func SetRoomMuted(c *gin.Context)
- func SetRoomMutedSingle(c *gin.Context)
- func SetRoomName(c *gin.Context)
- func SetStickyOnTop(c *gin.Context)
- func SetSystemMsg(c *gin.Context)
- func ShowReward(c *gin.Context)
- func SingleInviteInfos(c *gin.Context)
- func SumDetails(c *gin.Context)
- func SumGraph(c *gin.Context)
- func UnblockFriend(c *gin.Context)
- func UpdatePushDeviceToken(c *gin.Context)
- func UploadAd(c *gin.Context)
- func UploadSecretKey(c *gin.Context)
- func UserCheckPayPwd(c *gin.Context)
- func UserConf(c *gin.Context)
- func UserEditAvatar(c *gin.Context)
- func UserEditNickname(c *gin.Context)
- func UserInfo(c *gin.Context)
- func UserIsInRoom(c *gin.Context)
- func UserIsSetPayPwd(c *gin.Context)
- func UserListByUid(c *gin.Context)
- func UserLogin(context *gin.Context)
- func UserLoginOut(c *gin.Context)
- func UserSetPayPwd(c *gin.Context)
- func UserTokenLogin(context *gin.Context)
- func UserVerificationState(c *gin.Context)
- func VerifyApplyForRoom(c *gin.Context)
- func VerifyApplyForUser(c *gin.Context)
- func VerifyApprove(c *gin.Context)
- func VerifyFeeStatistics(c *gin.Context)
- func VerifyGetConfig(c *gin.Context)
- func VerifyGetConfigByType(c *gin.Context)
- func VerifySetFee(c *gin.Context)
- func VersionController(c *gin.Context)
- func VersionGraph(c *gin.Context)
- func WriteMsg(w io.Writer, msg []byte)
Constants ¶
View Source
const ( RespMiddleWareDisabled = "RespMiddleWareDisabled" UserId = "userId" Token = "token" AppId = "appId" DeviceName = "deviceName" DeviceType = "deviceType" Uuid = "uuid" Version = "version" Time = "time" ReqError = "error" ReqResult = "result" AdminId = "adminId" )
Variables ¶
This section is empty.
Functions ¶
func AdminAuthMiddleWare ¶
func AdminAuthMiddleWare() gin.HandlerFunc
func AuthMiddleWare ¶
func AuthMiddleWare() gin.HandlerFunc
func CheckNumber ¶
func EditReward ¶
-------------------------资金管理--------------------------//
func ExportAppSpecificVersionDetails ¶
导出单个版本明细
func ForwardEncryptMsg ¶
func GetAllFriendUnreadMsg ¶
GetAllFriendUnreadMsg获取所有好友未读消息统计
func GetAppVersions ¶
-----------------------------版本统计--------------------// 获取所有版本
func GetUserClientNums ¶
func GetUserNums ¶
func LatestData ¶
------------------------------统计数据------------------------------// 最近统计消息
func ParseHeaderMiddleWare ¶
func ParseHeaderMiddleWare() gin.HandlerFunc
func PersonalVerifyList ¶
func PrintScreen ¶
func RespMiddleWare ¶
func RespMiddleWare() gin.HandlerFunc
func RewardRule ¶
func RoomVerifyList ¶
func SetLimit ¶
func AdminGetUsers(c *gin.Context) { type requestParams struct { Types []string `json:"types" binding:"required"` Query string `json:"query"` Page int `json:"page" binding:"required"` Count int `json:"count" binding:"required"` } var params requestParams if err := c.ShouldBindJSON(¶ms); err != nil { c.Set(ReqError, result.NewError(result.ParamsError).SetChildErr(result.ServiceChat, nil, err.Error())) return } err := model.BanUserCancel(c.MustGet(AdminId).(string), params.Id) c.Set(ReqError, err) }
-----------------------群管理----------------------// 群统计
func ShowReward ¶
func UploadSecretKey ¶
func UserCheckPayPwd ¶
func UserEditAvatar ¶
func UserEditNickname ¶
func UserSetPayPwd ¶
func VerifyApprove ¶
-------------------------------认证------------------//
func VerifyFeeStatistics ¶
func VerifyGetConfig ¶
func VerifyGetConfigByType ¶
func VerifySetFee ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.