MainDao class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
addCoinByShare(int type, String? param)
→ Future<DataResult>
-
-
admobConfig()
→ Future<DataResult>
-
-
anchorCare(String? id)
→ Future<DataResult>
-
zb关注
-
anchorInfo(String? id)
→ Future<DataResult>
-
获取zb信息
-
anchorInfoV3(int anchorUserId)
→ Future<DataResult>
-
获取zb信息
-
anchorReport(String? id, String? content, String? block)
→ Future<DataResult>
-
zb举报
-
anchorSeeInfo(String? id)
→ Future<DataResult>
-
-
appleSign(String? user, String? nickname, String? userStr, String? email, UserProvider userProvider)
→ Future<DataResult>
-
-
applovinAddCoin(String? adUnit)
→ Future<DataResult>
-
-
blockList(int page)
→ Future<DataResult>
-
获取黑名单列表
-
buyVideo(String? id)
→ Future<DataResult>
-
获取zb购买小视频信息
-
callBefore(String? anchorId, String? callId, int? type)
→ Future<DataResult>
-
通话前置检测
-
通话评价
-
careList(int type, int page)
→ Future<DataResult>
-
获取关注列表
-
checkDaily()
→ Future<DataResult>
-
签到
-
checkPwd(String? password)
→ Future<DataResult>
-
检测原密码
-
checkUpdate()
→ Future<DataResult>
-
检查更新
-
dailyInfo()
→ Future<DataResult>
-
签到信息
-
delUser(String? type, String? reason)
→ Future<DataResult>
-
删除账号
-
favVideo(String? id, String? type)
→ Future<DataResult>
-
获取zb喜欢小视频信息
-
feedBack(int type, String? suggest, List<String> picList, String? email)
→ Future<DataResult>
-
反馈
-
forgetPassword(String? email, String? password, String? token)
→ Future<DataResult>
-
忘记密码
-
freeMessageNum()
→ Future<DataResult>
-
获取免费消息
-
getAnchorVideoInfo(String? anchorUserId)
→ Future<DataResult>
-
-
getCountShareCoin()
→ Future<DataResult>
-
-
getLanguagesList()
→ Future<DataResult>
-
-
getLeaderList(int type, int day, [int? mutiNum, int? totalNum])
→ Future<DataResult>
-
获取列表-排行榜
-
getList(int type, int page, int languageId, int size)
→ Future<DataResult>
-
获取列表
-
getLoverTopList(String? anchorId, int type)
→ Future<DataResult>
-
获取列表-排行榜详情
-
getLucky()
→ Future<DataResult>
-
-
getLuckyNumber(int? number)
→ Future<DataResult>
-
-
getMyCost(int type)
→ Future<DataResult>
-
获取列表-排行榜-我的排名-金主榜
-
getOtherUserInfo(String? id)
→ Future<DataResult>
-
获取其他用户信息
-
getPlusVip()
→ Future<DataResult>
-
获取vip信息
-
getRecommendAnchorList(int mutiNum, int total)
→ Future<DataResult>
-
-
getReportUser(String? userId)
→ Future<DataResult>
-
v2
获取拉黑状态
-
getRoomInfo()
→ Future<DataResult>
-
获取RoomInfo
-
getRoomList(String? language, String? label, int page, {String? type})
→ Future<DataResult>
-
获取Room列表
-
getRtcToken(String? houseId)
→ Future<DataResult>
-
-
getRtmToken()
→ Future<DataResult>
-
-
getSlotRecordList()
→ Future<DataResult>
-
-
getTaskDailyTask()
→ Future<DataResult>
-
日任务
-
getTaskGetTask()
→ Future<DataResult>
-
任务
-
getTaskMonthHistory()
→ Future<DataResult>
-
月历史记录
-
getTaskMonthTask()
→ Future<DataResult>
-
月任务
-
getTaskReceiveAward()
→ Future<DataResult>
-
领取奖励
-
getTaskWeekTask()
→ Future<DataResult>
-
周任务
-
getUserAchieves()
→ Future<DataResult>
-
(获取用户成就信息
-
getUserInfo(UserProvider userProvider)
→ Future<DataResult>
-
获取自己用户信息
-
getUserIntegralInfo()
→ Future<DataResult>
-
用户积分
-
getUserIntegralLottery()
→ Future<DataResult>
-
用户积分抽奖
-
getUserLevelExpList()
→ Future<DataResult>
-
每日经验值详情
-
getUserLevelList()
→ Future<DataResult>
-
等级列表
-
getUserOnline(String? id)
→ Future<DataResult>
-
获取用户信息-在线状态和名字
-
getUserOnlineList(List<String> ids)
→ Future<DataResult>
-
获取用户信息-在线状态和名字-批量
-
getUserPointIntegralRule()
→ Future<DataResult>
-
获取积分规则说明
-
getUserShareSuccess()
→ Future<DataResult>
-
分享成功上报
-
getUserSystemAchieveList()
→ Future<DataResult>
-
用户体系成就列表
-
getUserSystemHeadList()
→ Future<DataResult>
-
用户体系获取相框列表
-
getUserSystemIncomeStateList()
→ Future<DataResult>
-
用户体系进场特效列表
-
googleSign(String? openId, String? name, String? headImage, String? email, UserProvider userProvider)
→ Future<DataResult>
-
-
guestSign(UserProvider userProvider)
→ Future<DataResult>
-
-
helpList(String? type)
→ Future<DataResult>
-
-
hideLogin(UserProvider userProvider)
→ Future<DataResult>
-
获取自己用户信息
-
historyCallList(int page)
→ Future<DataResult>
-
获取历史列表
-
historyConList(int page)
→ Future<DataResult>
-
获取消费历史列表
-
historyMatchList(int page)
→ Future<DataResult>
-
获取match列表
-
initConfig(List<String> configs)
→ Future<DataResult>
-
配置数据
-
initGift()
→ Future<DataResult>
-
配置数据-新礼物列表
-
initUserInfo(UserProvider userProvider)
→ Future<DataResult>
-
初始化用户信息
-
isLuckyOpen()
→ Future<DataResult>
-
-
liveGetLastRoomInfo()
→ Future<DataResult>
-
-
liveGetMasterDownMike({required int roomId})
→ Future<DataResult>
-
-
liveGetOnMike({required int roomId, required int type})
→ Future<DataResult>
-
-
liveGetUserInfo({required int roomId, required int userId})
→ Future<DataResult>
-
-
liveMasterDownSeat({required int userId, required int roomId, required int roomPlaceId})
→ Future<DataResult>
-
-
livePostAgreeForMike({required int roomId, required int type, required int userId})
→ Future<DataResult>
-
-
livePostApplyForMike({required int roomId, required int type})
→ Future<DataResult>
-
-
livePostApplyList({required int roomId, required int num, int? size})
→ Future<DataResult>
-
-
livePostBlockUser({required bool isCancelBlock, required int userId, required int roomId})
→ Future<DataResult>
-
-
livePostBlockUserList({required int roomId, required int num, int? size = 20})
→ Future<DataResult>
-
-
livePostCancelMike({required int roomId})
→ Future<DataResult>
-
-
livePostCareRoom({required bool isCareType, required int roomId})
→ Future<DataResult>
-
-
livePostCareUser({required int careType, required int userId})
→ Future<DataResult>
-
-
livePostCareUserList({required int roomId, required int num, int? size = 20})
→ Future<DataResult>
-
-
livePostCreateLiveImpl({required String imageUrl, required String language, required String liveNotice, required String title, required int type, required int price, required int videoPlaceType, required int videoPrice, required int voicePlaceType, required int voicePrice})
→ Future<DataResult>
-
-
livePostExitRoom({required int roomId, int? roomPlaceId, int? roomUserId})
→ Future<DataResult>
-
-
livePostFileUpload({required String headImage})
→ Future<DataResult>
-
-
livePostJoinRoom({required int roomId})
→ Future<DataResult>
-
-
livePostLiveEdit({required String language, required String liveNotice, required int liveId, required int roomId, required String title, required int videoPrice, required int price, required int voicePrice})
→ Future<DataResult>
-
-
livePostMasterInvite({required int userId, required int roomId, required int type})
→ Future<DataResult>
-
-
livePostMuteFlushMike({required int status, required int roomPlaceId, required int roomId})
→ Future<DataResult>
-
-
livePostMuteUser({required bool isMute, required int userId, required int roomId})
→ Future<DataResult>
-
-
livePostMuteVoiceUser({required bool isMute, required int userId, required int roomId})
→ Future<DataResult>
-
-
livePostRoomInfo({required int roomId})
→ Future<DataResult>
-
-
livePostRoomList({required int type, required int num, int? size})
→ Future<DataResult>
-
-
livePostRoomUserList({required int roomId, required int num, int? size})
→ Future<DataResult>
-
-
livePostSendGift({required int giftId, required int num, required int roomId, required List<int> userIdList})
→ Future<DataResult>
-
-
livePostStopLive({required int roomId})
→ Future<DataResult>
-
-
livePostUnlockRoom({required int liveId, required int roomId})
→ Future<DataResult>
-
-
livePostUserDownMike({required int roomPlaceId, required int roomId})
→ Future<DataResult>
-
-
livePostUserIsOnRoom({required int userId, required int roomId})
→ Future<DataResult>
-
-
livePostUserOnMike({required int roomId, required int placeType, required int type})
→ Future<DataResult>
-
-
livePostUserRefuseConnect({required int roomId})
→ Future<DataResult>
-
-
login(String? userName, String? password, UserProvider userProvider)
→ Future<DataResult>
-
登录
-
lookVideo(String? id)
→ Future<DataResult>
-
获取zb查看小视频信息
-
luckyList()
→ Future<DataResult>
-
-
matchAnchor()
→ Future<DataResult>
-
ppeizb
-
matchAnchorV2()
→ Future<DataResult>
-
-
matchInfo()
→ Future<DataResult>
-
匹配信息
-
matchLastOne()
→ Future<DataResult>
-
最近match的用户
-
matchUnLike(String? id)
→ Future<DataResult>
-
-
plusVipList()
→ Future<DataResult>
-
获取vip充值列表
-
pop列表
-
postAnchorAnswerInvite({required int type})
→ Future<DataResult>
-
(不)同意邀请
-
postAnchorInviteList({required int num, required int roomId, int size = 20})
→ Future<DataResult>
-
主播邀请列表
-
postAnchorInviteOther({required List ids, required int roomId, required int liveId})
→ Future<DataResult>
-
邀请主播
-
postJoinChatRoom({required int roomId})
→ Future<DataResult>
-
用户加入直播间成功
-
postUserSystemAchieveInfo({required int serialNum, required String type})
→ Future<DataResult>
-
用户体系设置成就详情
-
postUserSystemAchieveShowList()
→ Future<DataResult>
-
用户体系获取可设置成就列表
-
postUserSystemCancelAchieve({required int serialNum})
→ Future<DataResult>
-
用户体系设置成就
-
postUserSystemSetAchieve({required int serialNum, required int sort, required String type})
→ Future<DataResult>
-
用户体系设置成就
-
postUserSystemSetIncomeState({required int incomeStateId})
→ Future<DataResult>
-
用户体系设置进场特效
-
postUserSystemUnlockIncomeState({required int incomeStateId})
→ Future<DataResult>
-
用户体系解锁进场特效
-
regUserInfo(String? gender, String? birthday, String? name, UserProvider userProvider, {String? inviteCode})
→ Future<DataResult>
-
完善资料
-
removeBlock(String? userId)
→ Future<DataResult>
-
移除黑名单列表
-
saveUserInfo(String? nickname, String? signature, List<UserPic>? pic, String? birthday, String? country, String? gender)
→ Future<DataResult>
-
保存用户信息
-
sendGift(String? giftId, String? anchorId, {int? type})
→ Future<DataResult>
-
送礼物
-
sendGiftTemp(String? price)
→ Future<DataResult>
-
送礼物-花钱
-
sendMessage(String? anchorId)
→ Future<DataResult>
-
发送消息
-
sendVerifyCode(String? email)
→ Future<DataResult>
-
发送验证码
-
setFirebaseToken(String? token)
→ Future<DataResult>
-
设置FCM token
-
setMatchLabel(List<String> likes)
→ Future<DataResult>
-
提交标签
-
setRoomCreate(String? cover, String? roomName, String? language, String? label, String? liveNotice)
→ Future<DataResult>
-
Room新建
-
setRoomDelete(int id)
→ Future<DataResult>
-
Room删除
-
setRoomEdit(int? id, String? cover, String? roomName, String? language, String? label, String? liveNotice)
→ Future<DataResult>
-
Room编辑
-
setRoomFollow(int? id)
→ Future<DataResult>
-
Room关注/取消
-
setUserSystemHead({required int headFrameId})
→ Future<DataResult>
-
用户体系设置用户头像框
-
setUserSystemUnlockHead({required int headFrameId})
→ Future<DataResult>
-
用户体系解锁用户头像框
-
signUp(String? userEmail, String? password, UserProvider userProvider)
→ Future<DataResult>
-
注册
-
taskReceiveTask({required int taskId})
→ Future<DataResult>
-
领取任务
-
timeSync()
→ Future<DataResult>
-
获取服务器时间
-
topicUse(String? topicId)
→ Future<DataResult>
-
-
updateUserInfo(UserEntity userEntity, {bool update = false, bool submit = false})
→ Future<UserEntity>
-
更新本地数据库
-
updateUserItem(String? userId, UserProvider userProvider, {bool? localData, String? gender, String? age, String? country, List? likes, String? name, String? sign, String? headImage, int? rechargeCount})
→ Future<UserEntity?>
-
更新本地数据库-只更新某些数据
-
updateUserPassword(String? oldPwd, String? newPwd)
→ Future<DataResult>
-
修改密码
-
upLoadHeadImage(String? headImage)
→ Future<DataResult>
-
上传头像
-
upLoadImage(List<UserPic> list)
→ Future<DataResult>
-
上传图片
-
upLoadImageString(List<String> list, [bool id = true])
→ Future<DataResult>
-
-
upLoadLog(String? userId, String file)
→ Future<DataResult>
-
上传日志
-
userIntegralExchange({required int convertId})
→ Future<DataResult>
-
积分兑换
-
userIntegralExchangeList({required int num, int size = 20})
→ Future<DataResult>
-
积分兑换列表
-
userIntegralLuckyList()
→ Future<DataResult>
-
获取抽奖列表
-
userLevelUnlockLevel({required String level})
→ Future<DataResult>
-
解锁等级奖励
-
userNotOnline(String? userId)
→ Future<DataResult>
-
反馈zb不在线
-
userPointExchangeHistoryList({required int num, int size = 20})
→ Future<DataResult>
-
积分兑换历史
-
userPointLotteryHistoryList({required int num, int size = 20})
→ Future<DataResult>
-
积分抽奖历史
-
verifyCodeCheck(String? email, String? code)
→ Future<DataResult>
-
验证验证码
-
videoInfo(String? videoId)
→ Future<DataResult>
-
获取视频详细信息
-
videoListInfo(int page, String? userId)
→ Future<DataResult>
-
获取zb小视频信息