Files
yinmeng-ios/xplan-ios/Main/Room/View/AnchorView/Model/XPAnchorAttentSendInfo.m

26 lines
653 B
Mathematica
Raw Normal View History

//
// XPAnchorAttentSendInfo.m
// xplan-ios
//
// Created by GreenLand on 2022/2/15.
//
#import "XPAnchorAttentSendInfo.h"
2022-11-11 15:11:14 +08:00
#import "NSMutableDictionary+Saft.h"
@implementation XPAnchorAttentSendInfo
- (NSDictionary *)encodeAttachemt {
2022-11-11 15:11:14 +08:00
NSMutableDictionary * info = [NSMutableDictionary dictionary];
[info safeSetObject:self.nick forKey:@"nick"];
[info safeSetObject:@(self.targetUid) forKey:@"targetUid"];
[info safeSetObject:self.targetNick forKey:@"targetNick"];
NSMutableDictionary * dic = [NSMutableDictionary dictionary];
[dic safeSetObject:@(self.uid) forKey:@"uid"];
[dic safeSetObject:info forKey:@"data"];
return info;
}
@end