推送弹窗广告

 @interface TFPopupPut : NSObject

 【字段含义】广告播放时长
@property (nonatomic, assign)NSInteger duration;

 【字段含义】广告图片的链接
@property (nonatomic, copy, nonnull) NSString* img;

 【字段含义】广告生成的的时间  2021-03-09 15:30:38
@property (nonatomic, copy, nonnull) NSString* pushTime;

 【字段含义】广告图片点击时会跳转的链接
@property (nonatomic, copy, nonnull) NSString* url;

 【字段含义】发起推广的用户标记
@property (nonatomic, copy, nonnull) NSString* uuid;
 @end

浮动广告位置

@interface TFposition : NSObject
@property (nonatomic, assign)NSInteger top;
@property (nonatomic, assign)NSInteger left;
@end

浮动广告开关

@interface TFAd : NSObject
@property (nonatomic, assign)NSInteger enable;
@end

浮动广告模型

@interface TFAdModel : NSObject
 【字段含义】名字
@property (nonatomic, copy, nonnull) NSString* name;
 【字段含义】图片URL
@property (nonatomic, copy, nonnull) NSString* img;
 【字段含义】图片创建时间
@property (nonatomic, copy, nonnull)NSString * time;
 【字段含义】link
@property (nonatomic, copy, nonnull)NSString * link;
 【字段含义】 图片高度
@property (nonatomic, assign)NSInteger height;
 【字段含义】 图片宽度
@property (nonatomic, assign)NSInteger width;
 【字段含义】缩放
@property (nonatomic, assign)NSInteger scale;
 【字段含义】位置
@property (nonatomic, strong)TFposition* _Nonnull position;
@end

商 品


@interface TFgoods: NSObject
//状态码
typedef enum{

    TalkfunPutawayOff = 0, //下架
    TalkfunPutawayOn  = 1, //上架
    TalkfunPutawayRecommend = 2 //推荐

}TalkfunPutaway;

 【字段含义】 id
@property (nonatomic, copy, nonnull) NSString* goodsId;
 【字段含义】二维码链接
@property (nonatomic, copy, nonnull) NSString* qrcode;
 【字段含义】商 品链接
@property (nonatomic, copy, nonnull) NSString* url;
 【字段含义】商 品头像
@property (nonatomic, copy, nonnull) NSString* img;
 【字段含义】商 品下方的标题
@property (nonatomic, copy, nonnull) NSString* link_text;
 【字段含义】售 价 99
@property (nonatomic, copy, nonnull) NSString* now_Price;
 【字段含义】原 价  999
@property (nonatomic, copy, nonnull) NSString* originalPrice;
 【字段含义】标签
//  特 价 限 时  新 品 钜 惠 秒 杀
//    1    2     3    4    5
@property (nonatomic, copy, nonnull) NSString* tab;
 【字段含义】支 付方式
@property (nonatomic, copy, nonnull) NSString* pay;
 【字段含义】 名字
@property (nonatomic, copy, nonnull) NSString* name;
 【字段含义】
@property (nonatomic, copy, nonnull) NSString* loading1;
 【字段含义】
@property (nonatomic, copy, nonnull) NSString* loading2;
 【字段含义】1上架  0下架   2推荐
@property (nonatomic, assign) TalkfunPutaway putaway;

@end

选项卡数据

@interface TFtabsData: NSObject
 【字段含义】 标题
@property (nonatomic, copy, nonnull) NSString* title;
 【字段含义】 内容
@property (nonatomic, copy, nonnull) NSString* content;
 【字段含义】 名字
@property (nonatomic, copy, nonnull) NSString* name;
 【字段含义】 类型  chat聊天    invite榜单  editor编辑      courseware课件     ...
@property (nonatomic, copy, nonnull) NSString* type;
@end

当前用户数据

   //@interface TFLifeUserInfo : NSObject
 **名字*/
//@property (nonatomic, copy, nonnull) NSString* nickname;
 **用户头像*/
//@property (nonatomic, copy, nonnull) NSString* avatar;
 ** 是不是自己*/
//@property (nonatomic, copy, nonnull) NSString* isMe;
 **角色
// extern NSString * const TalkfunMemberRoleSpadmin;       //超级管理员(老师)
// extern NSString * const TalkfunMemberRoleAdmin;          //管理员(助教)
// extern NSString * const TalkfunMemberRoleUser;           //普通用户(学生)
// extern NSString * const TalkfunMemberRoleGuest;          //游客
// */
//@property (nonatomic, copy, nonnull) NSString* role;
//@property (nonatomic, copy, nonnull) NSString* gender;
//@property (nonatomic, copy, nonnull) NSString* uid;
//@property (nonatomic, copy, nonnull) NSString* xid;
//@property (nonatomic, copy, nonnull) NSString* partner_id;
//@property (nonatomic, copy, nonnull) NSString* expire;
//@property (nonatomic, copy, nonnull) NSString* pid;
//@property (nonatomic, copy, nonnull) NSString* course_id;
//@property (nonatomic, copy, nonnull) NSString* qaSecond;
//@property (nonatomic, copy, nonnull) NSArray * attr;
//@property (nonatomic, copy, nonnull) NSString * roomid;
//@property (nonatomic, copy, nonnull) NSString * a;
//@property (nonatomic, copy, nonnull) NSString * gid;
//@property (nonatomic, copy, nonnull) NSString * rname;
//@property (nonatomic, copy, nonnull) NSString * sessionid;
//@property (nonatomic, copy, nonnull) NSString* regtime;
//@end

商城开关

@interface TFStore : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 名字 ( 默认: " ")
@property (nonatomic, copy, nonnull)NSString * url;
 【字段含义】 名字 ( 默认: "二维码链接 ")
@property (nonatomic, copy, nonnull)NSString * qrcode;
 【字段含义】 名字 ( 默认: "商_城入口 ")
@property (nonatomic, copy, nonnull)NSString * name;
 【字段含义】 名字 ( 默认: 类型   1商品列表  2商品链接  3商品二维码    ")
@property (nonatomic, assign)NSInteger type;

//商品列表 (监听onGoodsUpdate:() 回调更新列表)
@property (nonatomic, strong)NSMutableArray <TFgoods *>* _Nullable goods;
@end

进入房间参数的模型

@interface TFStart : NSObject
 【字段含义】房间标题
@property (nonatomic, copy, nonnull) NSString* title;

@end

直播结束

@interface TFStop : NSObject
 【字段含义】房间标题
@property (nonatomic, copy, nonnull) NSString* title;

@end

邀请榜单模型

@interface TFInvitationListMOdel : NSObject
 【字段含义】用户唯一 id
@property(nonatomic,strong)NSString * _Nullable xid;
 【字段含义】头像地址
@property(nonatomic,strong)NSString * _Nullable avatar;
 【字段含义】昵称
@property(nonatomic,strong)NSString * _Nullable nickname;
 【字段含义】邀请人数
@property(nonatomic,assign)NSInteger   inviteCount;

@end

邀请榜单列表

@interface TFInvitationListData : NSObject
 //【字段含义】初始化数据错误时的标语
//@property(nonatomic,strong)NSString * _Nullable msg;
 //【字段含义】初始化数据。为 0 时表示请求成功
//@property(nonatomic,assign)NSInteger code;
 【字段含义】房间标题
@property (nonatomic, strong)NSMutableArray <TFInvitationListMOdel *>* _Nullable list;
@end

错误提示

@interface TFAsk : NSObject

@end

主播的资料

@interface TFZhubo : NSObject
 【字段含义】名字
@property (nonatomic, copy, nonnull) NSString* nickname;
 【字段含义】头像
@property (nonatomic, copy, nonnull) NSString* avatar;
@end

点赞结果

@interface TFLikeData : NSObject

 【字段含义】总点赞数
@property (nonatomic, assign)NSInteger times;

@end

关注按钮

@interface TFFocus : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 窗口弹出
@property (nonatomic, assign)BOOL popUp;
 【字段含义】 名字
@property (nonatomic, copy, nonnull)NSString * name;
 【字段含义】 链接
@property (nonatomic, copy, nonnull)NSString * url;
@end

打赏主播开关

@interface TFReward : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】类型
@property (nonatomic, assign)NSInteger type;
 【字段含义】 名字 ( 默认:打赏主播)
@property (nonatomic, copy, nonnull)NSString * name;
@end

邀请

@interface TFInviteRanking : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 名字 ( 默认:邀请)
@property (nonatomic, copy, nonnull)NSString * name;
@end

客服私聊开关

@interface TFService : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
@end

入场提示开关

@interface TFEntranceTips : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 名字 ( 默认:入场提示)
@property (nonatomic, copy, nonnull)NSString * name;
@end

叠加人气模式

@interface TFAccumulation : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;

@end

背景图

@interface TFBackground : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 链接
@property (nonatomic, copy, nonnull)NSString * url;
@end

人气

@interface TFPopularity : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 人气参数      注: (真实人数*人气参数=人气)
@property (nonatomic, assign)NSInteger num;
@end

邀请榜单开关

@interface TFInvitationList : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 名字 ( 默认:邀请榜单)
@property (nonatomic, copy, nonnull)NSString * name;
@end

直播倒计时开关

@interface TFCountDown : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 名字 ( 默认:直播倒计时)
@property (nonatomic, copy, nonnull)NSString * name;
@end

点赞开关

@interface TFLike : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
 【字段含义】 名字 ( 默认:直播倒计时)
@property (nonatomic, copy, nonnull)NSString * name;
@end

提问

@interface TFQuestion : NSObject
 【字段含义】是否启用
@property (nonatomic, assign)NSInteger enable;
@end

菜单入口

@interface TFMenu : NSObject

 【字段含义】是否启用 选项卡
@property (nonatomic, assign)NSInteger enable;

//选项卡数组
@property (nonatomic, strong)NSMutableArray <TFtabsData *>* _Nullable tabsDataList;

 【字段含义】 名字 _Nullable  _Nonnull  ( 默认:菜单入口)
@property (nonatomic, copy, nonnull)NSString * name;

 【字段含义】提问
@property (nonatomic, strong)TFQuestion* _Nullable question;
 【字段含义】内部 商_城开关
@property (nonatomic, strong)TFStore* _Nullable store;
 【字段含义】提_现
@property (nonatomic, assign)BOOL  withdraw;
 【字段含义】切换线路开关
@property (nonatomic, assign)BOOL  liveLine;
 【字段含义】个人中心开关
@property (nonatomic, assign)BOOL  info;
 【字段含义】红_包开关
@property (nonatomic, assign)BOOL  redPackRecord;
 【字段含义】举报开关
@property (nonatomic, assign)BOOL  report;
@end

观看人数

@interface TFNumber : NSObject
 【字段含义】是否启用   (以下模式为可选模式,不选择则显示正常在线人数)
@property (nonatomic, assign)NSInteger enable;
 【字段含义】人气
@property (nonatomic, strong)TFPopularity * _Nullable popularity;
 【字段含义】是否积累人气
@property (nonatomic, strong)TFAccumulation*_Nullable accumulation;
 【字段含义】 名字 ( 默认:人数)
@property (nonatomic, copy, nonnull)NSString * name;
@end

获取生活直播相关配置

@interface TFLifePageConfig : NSObject

 【字段含义】背景图片
@property (nonatomic, strong)TFBackground *_Nullable background;
 【字段含义】关注按钮
@property (nonatomic, strong)TFFocus *_Nullable focus;
 【字段含义】打赏主播
@property (nonatomic, strong)TFReward *_Nullable reward;
 【字段含义】邀请榜单开关
@property (nonatomic, strong)TFInvitationList *_Nullable invitationList;
 【字段含义】邀请分享观看开关
@property (nonatomic, strong)TFInviteRanking *_Nullable inviteRanking;
 【字段含义】入场提示
@property (nonatomic, strong)TFEntranceTips *_Nullable  entranceTips;
 【字段含义】客服私聊开关
@property (nonatomic, strong)TFService *_Nullable  service;
 【字段含义】观看人数
@property (nonatomic, strong)TFNumber* _Nullable number;
 【字段含义】直播倒计时开关
@property (nonatomic, strong)TFCountDown* _Nullable countDown;
 【字段含义】点赞开关
@property (nonatomic, strong)TFLike* _Nullable like;
【字段含义】标签菜单入口
@property (nonatomic, strong)TFMenu* _Nullable menu;
【字段含义】外部商_城开关
@property (nonatomic, strong)TFStore* _Nullable store;
【字段含义】浮动广告开关
@property (nonatomic, strong)TFAd* _Nullable ad;
【字段含义】浮动广告列表
@property (nonatomic,strong) NSMutableArray <TFAdModel *>* _Nullable adlist;
@end

课程数据

@interface TFLifeRoomInfo : NSObject

@property (nonatomic,strong)TFLifePageConfig * _Nonnull pageConfig;

获取当前用户个人数据
@property (nonatomic,strong)TFMember * _Nullable myInfo;

@end
Copyright Talkfun all right reserved,powered by Gitbook修订时间: 2021-05-25 15:52:42

results matching ""

    No results matching ""