RADataProvider.h 1.2 KB

1234567891011121314151617181920212223242526272829
  1. //
  2. // RADataProvider.h
  3. // iSales-USAI
  4. //
  5. // Created by Rui Zhang on 11/11/21.
  6. // Copyright © 2021 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "NetworkUtils.h"
  10. #import "RANetwork.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface RADataProvider : RANetwork
  13. +(void)request_editor:(NSString*) request_url params:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  14. +(void)request_commoneditor_partialrefresh: (NSMutableDictionary*)params url:(NSString*)url completionHandler:(resultHandler)result;
  15. +(void)SaveEditor:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  16. +(void)request_scansearch:(long ) offset limit :(long)limit keywords :(NSString*) keywords completionHandler:(resultHandler)result;
  17. +(void)request_scan_server:(resultHandler)result;
  18. +(void)request_sign_up:user email:(NSString*)email password:(NSString*) pwd completionHandler:(resultHandler)result;
  19. +(void)request_validate_scan_server:(NSString*)url name:(NSString*)name password:(NSString*)password completionHandler:(resultHandler)result;
  20. +(NSString*)getSiteName;
  21. +(void)request_change_password:(NSString*) pwd completionHandler:(resultHandler)result;
  22. @end
  23. NS_ASSUME_NONNULL_END