| 12345678910111213141516171819202122232425262728293031323334 |
- //
- // RADataProvider.h
- // iSales-USAI
- //
- // Created by Rui Zhang on 11/11/21.
- // Copyright © 2021 United Software Applications, Inc. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "NetworkUtils.h"
- #import "RANetwork.h"
- #import "AESCrypt.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface RADataProvider : RANetwork
- +(void)request_editor:(NSString*) request_url params:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
- +(void)request_commoneditor_partialrefresh: (NSMutableDictionary*)params url:(NSString*)url completionHandler:(resultHandler)result;
- +(void)SaveEditor:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
- +(void)request_scansearch:(long ) offset limit :(long)limit keywords :(NSString*) keywords completionHandler:(resultHandler)result;
- +(void)request_scan_server:(resultHandler)result;
- +(void)request_scan_news:(resultHandler)result;
- +(void)request_scan_stock:(NSMutableDictionary*)param completionHandler:(resultHandler)result;
- +(void)request_sign_up:user email:(NSString*)email password:(NSString*) pwd completionHandler:(resultHandler)result;
- +(void)request_validate_scan_server:(NSString*)url name:(NSString*)name password:(NSString*)password completionHandler:(resultHandler)result;
- +(NSString*)getSiteName;
- +(void)request_change_password:(NSString*) pwd completionHandler:(resultHandler)result;
- +(void)load_scan_models;
- +(NSArray*)request_scan_model_by_names:(NSString*)names;
- @end
- NS_ASSUME_NONNULL_END
|