2022-02-15 17:23:18 +08:00
|
|
|
//
|
|
|
|
// 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"
|
2022-02-15 17:23:18 +08:00
|
|
|
@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;
|
2022-02-15 17:23:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|