Skip to content

Commit

Permalink
对评论页里面的域名做了优化,现在不会出现没评论的情况了。
Browse files Browse the repository at this point in the history
  • Loading branch information
dsxNiubility committed Jul 15, 2015
1 parent cad9f5d commit aea9036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 81 - 网易新闻/Detail/SXDetailController.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ - (void)viewDidLoad {
[self.replyCountBtn setTitle:displayCount forState:UIControlStateNormal];

NSLog(@"%@",self.news[1]);
NSLog(@"%@----%@",replyURL,docID);
NSLog(@"%@----%@",self.newsModel.boardid,docID);

// 假数据
// NSString *url2 = @"http://comment.api.163.com/api/json/post/list/new/hot/photoview_bbs/PHOT1ODB009654GK/0/10/10/2/2";

// 真数据
NSString *url2 = [NSString stringWithFormat:@"http://comment.api.163.com/api/json/post/list/new/hot/%@/%@/0/10/10/2/2",replyURL,docID];
NSString *url2 = [NSString stringWithFormat:@"http://comment.api.163.com/api/json/post/list/new/hot/%@/%@/0/10/10/2/2",self.newsModel.boardid,docID];
[self sendRequestWithUrl2:url2];

self.automaticallyAdjustsScrollViewInsets = NO;
Expand Down

0 comments on commit aea9036

Please sign in to comment.