Skip to content

Commit

Permalink
add mark
Browse files Browse the repository at this point in the history
  • Loading branch information
lovemo committed Apr 14, 2016
1 parent fd55f64 commit 26d92e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified SUIMVVMDemo/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ - (NSURLSessionTask *)smk_viewModelWithProgress:(progressBlock)progress success:
// return [[FirstRequest alloc]init];

// 方式3
//smk_url (如果设置了url,则不需要在设置scheme,host,path 属性)
request.smk_scheme = @"https";
request.smk_host = @"api.douban.com";
request.smk_path = @"/v2/book/search";
request.smk_method = SMKRequestMethodGET;
request.smk_method = SMKRequestMethodGET; // default
request.smk_params = @{@"q": @"基础"};

return request;
Expand Down

0 comments on commit 26d92e6

Please sign in to comment.