123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- //
- // XYOfficialAPIManager.h
- // Timi
- //
- // Created by 翟玉磊 on 2022/1/14.
- //
- #import "ZYLAPIManager.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface XYOfficialAPIManager : ZYLAPIManager
- /// 封禁方式列表
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)getForbiddenWayTypesSuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 封禁时长列表
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)getForbiddenDurationTypesSuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 封禁(禁言)
- /// @param userId 被封禁用户id
- /// @param way 封禁方式
- /// @param durationType 封禁时长
- /// @param remark 封禁原因
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)forbiddenWithUserId:(NSString *)userId way:(NSString *)way durationType:(NSString *)durationType remark:(NSString *)remark SuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 重置昵称
- /// @param userId 被重置用户的名的用户id
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)resetUserNameWithUserId:(NSString *)userId successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 重置用户头像
- /// @param userId 重置头像的用户id
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)resetUserAvatarWithUserId:(NSString *)userId successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 重置用户签名
- /// @param userId 重置签名的用户id
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)resetUserSignWithUserId:(NSString *)userId successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 删除照片墙
- /// @param feedPhotoWallId 照片墙id
- /// @param userId 照片墙主人的用户id
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)deletePhotoWallWithFeedPhotoWallId:(NSString *)feedPhotoWallId userId:(NSString *)userId successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 删除动态
- /// @param feedId 动态id
- /// @param auditMsg 删除原因
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)deleteFeedWithFeedId:(NSString *)feedId auditMsg:(NSString *)auditMsg successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- @end
- NS_ASSUME_NONNULL_END
|