We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 850f485 commit d829d60Copy full SHA for d829d60
2 files changed
Coding_iOS/Util/Manager/Coding_NetAPIManager.m
@@ -1444,7 +1444,7 @@ - (void)request_ChangeWatcher:(User *)watcher ofTask:(Task *)task andBlock:(void
1444
#pragma mark User
1445
- (void)request_AddUser:(User *)user ToProject:(Project *)project andBlock:(void (^)(id data, NSError *error))block{
1446
// 一次添加多个成员(逗号分隔):users=102,4 (以后只支持 gk,不支持 id 了)
1447
- [[CodingNetAPIClient sharedJsonClient] requestJsonDataWithPath:[NSString stringWithFormat:@"api/project/%ld/members/add", project.id.longValue] withParams:@{@"users" : user.global_key} withMethodType:Post andBlock:^(id data, NSError *error) {
+ [[CodingNetAPIClient sharedJsonClient] requestJsonDataWithPath:[NSString stringWithFormat:@"api/project/%ld/members/gk/add", project.id.longValue] withParams:@{@"users" : user.global_key} withMethodType:Post andBlock:^(id data, NSError *error) {
1448
if (data) {
1449
[MobClick event:kUmeng_Event_Request_ActionOfServer label:@"项目_添加成员"];
1450
Coding_iOS/Views/Cell/TweetCell.m
@@ -263,7 +263,7 @@ - (void)setTweet:(Tweet *)tweet needTopView:(BOOL)needTopView{
263
if (_tweet.htmlMedia.imageItems.count > 0) {
264
265
CGFloat mediaHeight = [TweetCell contentMediaHeightWithTweet:_tweet];
266
- CGFloat mediaWidth = _tweet.htmlMedia.imageItems.count == 4? kTweetCell_ContentWidth - [TweetMediaItemCCell ccellSizeWithObj:_tweet.htmlMedia.imageItems.firstObject].width: kTweetCell_ContentWidth;
+ CGFloat mediaWidth = _tweet.htmlMedia.imageItems.count == 4? kTweetCell_ContentWidth - [TweetMediaItemCCell ccellSizeWithObj:_tweet.htmlMedia.imageItems.firstObject].width - 3: kTweetCell_ContentWidth;
267
[self.mediaView setFrame:CGRectMake(kTweetCell_PadingLeft, curBottomY, mediaWidth, mediaHeight)];
268
[self.mediaView reloadData];
269
self.mediaView.hidden = NO;
0 commit comments