Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d829d60

Browse files
添加项目成员的 & 冒泡四图排版
1 parent 850f485 commit d829d60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎Coding_iOS/Util/Manager/Coding_NetAPIManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ - (void)request_ChangeWatcher:(User *)watcher ofTask:(Task *)task andBlock:(void
14441444
#pragma mark User
14451445
- (void)request_AddUser:(User *)user ToProject:(Project *)project andBlock:(void (^)(id data, NSError *error))block{
14461446
// 一次添加多个成员(逗号分隔):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) {
1447+
[[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) {
14481448
if (data) {
14491449
[MobClick event:kUmeng_Event_Request_ActionOfServer label:@"项目_添加成员"];
14501450

‎Coding_iOS/Views/Cell/TweetCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ - (void)setTweet:(Tweet *)tweet needTopView:(BOOL)needTopView{
263263
if (_tweet.htmlMedia.imageItems.count > 0) {
264264

265265
CGFloat mediaHeight = [TweetCell contentMediaHeightWithTweet:_tweet];
266-
CGFloat mediaWidth = _tweet.htmlMedia.imageItems.count == 4? kTweetCell_ContentWidth - [TweetMediaItemCCell ccellSizeWithObj:_tweet.htmlMedia.imageItems.firstObject].width: kTweetCell_ContentWidth;
266+
CGFloat mediaWidth = _tweet.htmlMedia.imageItems.count == 4? kTweetCell_ContentWidth - [TweetMediaItemCCell ccellSizeWithObj:_tweet.htmlMedia.imageItems.firstObject].width - 3: kTweetCell_ContentWidth;
267267
[self.mediaView setFrame:CGRectMake(kTweetCell_PadingLeft, curBottomY, mediaWidth, mediaHeight)];
268268
[self.mediaView reloadData];
269269
self.mediaView.hidden = NO;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /