File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,9 +274,12 @@ - (void)sendCommentMessage:(id)obj{
274274}
275275
276276- (void )sendCurComment : (Task *)commentObj {
277+ [NSObject showHUDQueryStr: @" 正在发表评论..." ];
277278 __weak typeof (self) weakSelf = self;
278279 [[Coding_NetAPIManager sharedManager ] request_DoCommentToTask: commentObj andBlock: ^(id data, NSError *error) {
280+ [NSObject hideHUDQuery ];
279281 if (data) {
282+ [NSObject showHudTipStr: @" 评论成功" ];
280283 [weakSelf queryToRefreshActivityList ];
281284 [weakSelf queryToRefreshResourceReference ];
282285 [weakSelf.myTableView reloadData ];
Original file line number Diff line number Diff line change @@ -545,9 +545,12 @@ - (void)sendCommentMessage:(id)obj{
545545}
546546
547547- (void )sendCurComment : (Tweet *)commentObj {
548+ [NSObject showHUDQueryStr: @" 正在发表评论..." ];
548549 __weak typeof (self) weakSelf = self;
549550 [[Coding_NetAPIManager sharedManager ] request_Tweet_DoComment_WithObj: commentObj andBlock: ^(id data, NSError *error) {
551+ [NSObject hideHUDQuery ];
550552 if (data) {
553+ [NSObject showHudTipStr: @" 评论成功" ];
551554 Comment *resultCommnet = (Comment *)data;
552555 resultCommnet.owner = [Login curLoginUser ];
553556 [commentObj addNewComment: resultCommnet];
Original file line number Diff line number Diff line change @@ -341,9 +341,12 @@ - (void)sendCommentMessage:(id)obj{
341341}
342342
343343- (void )sendCurComment : (Tweet *)commentObj {
344+ [NSObject showHUDQueryStr: @" 正在发表评论..." ];
344345 __weak typeof (self) weakSelf = self;
345346 [[Coding_NetAPIManager sharedManager ] request_Tweet_DoComment_WithObj: commentObj andBlock: ^(id data, NSError *error) {
347+ [NSObject hideHUDQuery ];
346348 if (data) {
349+ [NSObject showHudTipStr: @" 评论成功" ];
347350 Comment *resultCommnet = (Comment *)data;
348351 resultCommnet.owner = [Login curLoginUser ];
349352 [commentObj addNewComment: resultCommnet];
Original file line number Diff line number Diff line change @@ -373,9 +373,12 @@ - (void)sendCommentMessage:(id)obj{
373373}
374374
375375- (void )sendCurComment : (Tweet *)commentObj {
376+ [NSObject showHUDQueryStr: @" 正在发表评论..." ];
376377 __weak typeof (self) weakSelf = self;
377378 [[Coding_NetAPIManager sharedManager ] request_Tweet_DoComment_WithObj: commentObj andBlock: ^(id data, NSError *error) {
379+ [NSObject hideHUDQuery ];
378380 if (data) {
381+ [NSObject showHudTipStr: @" 评论成功" ];
379382 Comment *resultCommnet = (Comment *)data;
380383 resultCommnet.owner = [Login curLoginUser ];
381384 [commentObj addNewComment: resultCommnet];
Original file line number Diff line number Diff line change @@ -361,9 +361,12 @@ - (void)sendCommentMessage:(id)obj{
361361
362362
363363- (void )sendCurComment : (Tweet *)commentObj {
364+ [NSObject showHUDQueryStr: @" 正在发表评论..." ];
364365 __weak typeof (self) weakSelf = self;
365366 [[Coding_NetAPIManager sharedManager ] request_Tweet_DoComment_WithObj: commentObj andBlock: ^(id data, NSError *error) {
367+ [NSObject hideHUDQuery ];
366368 if (data) {
369+ [NSObject showHudTipStr: @" 评论成功" ];
367370 Comment *resultCommnet = (Comment *)data;
368371 resultCommnet.owner = [Login curLoginUser ];
369372 [commentObj addNewComment: resultCommnet];
You can’t perform that action at this time.
0 commit comments