| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // 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_autocomplete:(NSMutableDictionary*)param completionHandler:(resultHandler)result;
- //+(void)request_scan_cid:(NSMutableDictionary*)param completionHandler:(resultHandler)result;
- //+(void)request_scan_shipto_company:(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;
- +(bool)getSiteHasERP;
- +(void)request_change_password:(NSString*) pwd completionHandler:(resultHandler)result;
- +(void)load_scan_models;
- +(NSArray*)request_scan_model_by_names:(NSString*)names;
- +(void) updateTemplate:(UIViewController*) vc;
- //+(void)encrypt_scan_models;
- +(bool) scanRtime:(NSString* )rtime;
- +(void)default_price_group;
- +(NSDictionary*)get_price_group:(NSString*) groupname;
- +(NSMutableDictionary*)all_price_group;
- @end
- NS_ASSUME_NONNULL_END
|