30 lines
778 B
Objective-C
30 lines
778 B
Objective-C
//
|
|
// KanKanListDataHelper.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 16/11/24.
|
|
// Copyright © 2016年 lianxiang. All rights reserved.
|
|
//
|
|
|
|
#import "KanKanListDataHelper.h"
|
|
|
|
@implementation KanKanListDataHelper
|
|
|
|
+(void)formatKanKanLisetData:(IfishKankanListModel*)mode liveRoomInfo:(NSDictionary*)dic
|
|
{
|
|
mode.room_id = dic[@"roomId"];
|
|
mode.room_name = dic[@"roomName"];
|
|
mode.nickname = dic[@"nickName"];
|
|
mode.roomDesc = dic[@"roomDesc"];
|
|
mode.popularityValue = dic[@"popularityValue"];
|
|
mode.distance = dic[@"distance"];
|
|
mode.numberDays = dic[@"numberDays"];
|
|
mode.cameraId = dic[@"cameraId"];
|
|
mode.userImg = dic[@"userImg"];
|
|
mode.liveness = dic[@"liveness"];
|
|
mode.userId = dic[@"userId"];
|
|
mode.userType = dic[@"userType"];
|
|
|
|
}
|
|
@end
|