Showing
2 changed files
with
11 additions
and
2 deletions
| @@ -94,6 +94,10 @@ export class HttpUrlUtils { | @@ -94,6 +94,10 @@ export class HttpUrlUtils { | ||
| 94 | */ | 94 | */ |
| 95 | static readonly FOLLOW_LIST_STATUS_DATA_PATH: string = "/api/rmrb-interact/interact/zh/c/batchAttention/status"; | 95 | static readonly FOLLOW_LIST_STATUS_DATA_PATH: string = "/api/rmrb-interact/interact/zh/c/batchAttention/status"; |
| 96 | /** | 96 | /** |
| 97 | + * 个人中心 启用用户 有没有被当前用户点赞状态 | ||
| 98 | + */ | ||
| 99 | + static readonly COMMENT_LIST_STATUS_DATA_PATH: string = "/api/rmrb-comment/comment/zh/c/batchCommentStatus"; | ||
| 100 | + /** | ||
| 97 | * 我的收藏 | 101 | * 我的收藏 |
| 98 | */ | 102 | */ |
| 99 | static readonly APPOINTMENT_MyCollectionList_PATH: string = "/api/rmrb-interact/content/zh/c/interact"; | 103 | static readonly APPOINTMENT_MyCollectionList_PATH: string = "/api/rmrb-interact/content/zh/c/interact"; |
| @@ -136,7 +140,7 @@ export class HttpUrlUtils { | @@ -136,7 +140,7 @@ export class HttpUrlUtils { | ||
| 136 | static readonly APPOINTMENT_OPERATION_STATUS_PATH: string = "/api/live-center-message/zh/c/live/subscribe"; | 140 | static readonly APPOINTMENT_OPERATION_STATUS_PATH: string = "/api/live-center-message/zh/c/live/subscribe"; |
| 137 | 141 | ||
| 138 | /** | 142 | /** |
| 139 | - * 预约操作 | 143 | + * 点赞操作 |
| 140 | */ | 144 | */ |
| 141 | static readonly COMMENT_LIKE_OPERATION_PATH: string = "/api/rmrb-comment/comment/zh/c/commentLike"; | 145 | static readonly COMMENT_LIKE_OPERATION_PATH: string = "/api/rmrb-comment/comment/zh/c/commentLike"; |
| 142 | /** | 146 | /** |
| @@ -413,6 +417,11 @@ export class HttpUrlUtils { | @@ -413,6 +417,11 @@ export class HttpUrlUtils { | ||
| 413 | return url | 417 | return url |
| 414 | } | 418 | } |
| 415 | 419 | ||
| 420 | + static getCommentListStatusDataUrl() { | ||
| 421 | + let url = HttpUrlUtils.hostUrl + HttpUrlUtils.COMMENT_LIST_STATUS_DATA_PATH | ||
| 422 | + return url | ||
| 423 | + } | ||
| 424 | + | ||
| 416 | static getMineCommentListDataUrl() { | 425 | static getMineCommentListDataUrl() { |
| 417 | let url = HttpUrlUtils.hostUrl + HttpUrlUtils.MINE_COMMENT_LIST_DATA_PATH | 426 | let url = HttpUrlUtils.hostUrl + HttpUrlUtils.MINE_COMMENT_LIST_DATA_PATH |
| 418 | return url | 427 | return url |
| @@ -568,7 +568,7 @@ class MinePageDatasModel{ | @@ -568,7 +568,7 @@ class MinePageDatasModel{ | ||
| 568 | } | 568 | } |
| 569 | 569 | ||
| 570 | fetchOtherUserCommentLikeStatusData(object:OtherUserCommentLikeStatusRequestItem) { | 570 | fetchOtherUserCommentLikeStatusData(object:OtherUserCommentLikeStatusRequestItem) { |
| 571 | - let url = HttpUrlUtils.getFollowListStatusDataUrl() | 571 | + let url = HttpUrlUtils.getCommentListStatusDataUrl() |
| 572 | let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders(); | 572 | let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders(); |
| 573 | return WDHttp.post<ResponseDTO<QueryCommentListIsLikedItem[]>>(url,object, headers) | 573 | return WDHttp.post<ResponseDTO<QueryCommentListIsLikedItem[]>>(url,object, headers) |
| 574 | }; | 574 | }; |
-
Please register or login to post a comment