JpushTool.m 707 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // JpushTool.m
  3. // YiFu
  4. //
  5. // Created by fanwenzhe on 2019/5/17.
  6. // Copyright © 2019 fanwenzhe. All rights reserved.
  7. //
  8. #import "JpushTool.h"
  9. @implementation JpushTool
  10. + (void)setAlias:(NSString *)alias
  11. completion:(JPUSHAliasOperationCompletion)completion
  12. seq:(NSInteger)seq {
  13. [JPUSHService setAlias:alias completion:completion seq:seq];
  14. }
  15. // 删除别名
  16. + (void)deleteAlias:(JPUSHAliasOperationCompletion)completion
  17. seq:(NSInteger)seq {
  18. [JPUSHService deleteAlias:completion seq:seq];
  19. }
  20. // 查询别名
  21. + (void)getAlias:(JPUSHAliasOperationCompletion)completion
  22. seq:(NSInteger)seq {
  23. [JPUSHService getAlias:completion seq:seq];
  24. }
  25. @end