RANetwork.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. //
  2. // iSalesNetwork.h
  3. // RedAnt ERP Mobile
  4. //
  5. // Created by Ray on 14-6-20.
  6. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
  7. // ERP Mobile 的网络请求处理类
  8. //
  9. #import <Foundation/Foundation.h>
  10. #import "const.h"
  11. #import "config.h"
  12. #import "AppDelegate.h"
  13. #import "Reachability.h"
  14. #import "iSalesDB.h"
  15. #import "RAUtils.h"
  16. #import "NetworkUtils.h"
  17. #import "OLDataProvider.h"
  18. extern NSString *const kScreenName;
  19. extern NSString *const kAction;
  20. extern NSString *const kExtra;
  21. extern NSString *const ScreenCodeLoginView;
  22. extern NSString *const ScreenCodeHomeView;
  23. extern NSString *const ScreenCodeCategory;
  24. extern NSString *const ScreenCodeCart;
  25. extern NSString *const ScreenCodeOrderList;
  26. extern NSString *const ScreenCodeSearch;
  27. extern NSString *const ScreenCodeAccount;
  28. extern NSString *const ScreenCodeWishList;
  29. extern NSString *const ScreenCodePortfolio;
  30. extern NSString *const ScreenCodeViewPortfolios;
  31. extern NSString *const ScreenCodeCamScan;
  32. extern NSString *const ScreenCodeScannerSetting;
  33. extern NSString *const ScreenCodeOfflineSetting;
  34. extern NSString *const ScreenCodePlaceOrder;
  35. extern NSString *const ScreenCodeCustomerInfo;
  36. extern NSString *const ScreenCodeNewCustomer;
  37. extern NSString *const ScreenCodeEditCustomer;
  38. extern NSString *const ScreenCodeModelInfo;
  39. extern NSString *const ScreenCodeOrderInfo;
  40. extern NSString *const ScreenCodeUserSign;
  41. extern NSString *const ScreenCodeNewAddress;
  42. extern NSString *const ScreenCodeAdvanceSearch;
  43. extern NSString *const ScreenCodeCreatePortfolio;
  44. extern NSString *const ScreenCodeParticularCategory;
  45. extern NSString *const ScreenCodeEditPortfolio;
  46. extern NSString *const ScreenCodePriceSetting;
  47. extern NSString *const ScreenCodeCategoryPrice;
  48. extern NSString *const ScreenCodeSetCatetoryPrice;
  49. extern NSString *const ScreenCodeUploadImage;
  50. extern NSString *const ScreenCodeOfflineSync;
  51. @interface RANetwork : NetworkUtils
  52. +(void) LoadImage:(NSString*) url into:(UIImageView*) container;
  53. //+(NSDictionary*) portfolio_remove:(NSString* ) item_ids;
  54. //+(NSDictionary*)request_Portfolio:(int)sort;
  55. //+(NSDictionary*) delete_portfoliolist:(NSString* ) listid;
  56. //+(NSDictionary*) add_toPortfolio:(NSString* ) item_id withScreen:(NSString *)screenName;
  57. //+(NSData*)get_json : (NSString*) url parameters:(NSMutableDictionary *) params;
  58. //+(int)Authorize : (NSString*) user password:(NSString*) password ;
  59. //+(NSDictionary*)logout;
  60. //+(NSDictionary*)request_Cagegory;
  61. //+(NSDictionary*)load_HomePage: (int) price_template customid:(int) customid;
  62. //+(NSDictionary*)retrieve_password: (NSString*) user email:(NSString*) email;
  63. //+(NSDictionary*)request_model_qty: (NSString*) fashionId;
  64. //+(NSDictionary*)commoneditor_partialrefresh: (NSMutableDictionary*)params url:(NSString*)url;
  65. //+(NSDictionary*)Search: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword;
  66. //+(NSDictionary*)Category: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword offset:(long) offset limit:(long) limit alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip ;
  67. //+(bool) IsNetworkAvailable;
  68. //+(int)parse_authinfo : (NSData *) json user:(NSString*) user password:(NSString*) password;
  69. //+(NSDictionary*)request_ItemDetail: (NSString* ) item_id model_name:(NSString*) model_name category_id:(NSString*) category_id use_name :(bool) use_name groupName:(NSString *)groupName;
  70. //+(NSDictionary*) cart_incresement:(NSString*) cart_id increse:(bool) increse;
  71. //+(NSDictionary*) cart_setQTY:(NSString*) cart_id value:(int) value;
  72. //+(NSDictionary*) cart_setPrice:(NSString*) cart_id price:(float) price discount:(float) discount notes:(NSString*) notes;
  73. //+(NSDictionary*) cart_setFree:(NSString*) cart_id isfree:(bool) isfree;
  74. //+(NSDictionary*) cart_setItemNote:(NSString*) cart_id notes:(NSString*) notes;
  75. //+(NSDictionary*) cart_setGeneralNote:(NSString*) order_code notes:(NSString*) notes;
  76. //+(NSDictionary*) check_Offline:(NSString* )ver useInternalAddress:(bool)buseinternaladdress vid:(NSString*) vid;
  77. //+(NSDictionary*) download_Offline:(NSString* )vid;
  78. //+(NSDictionary*) finish_download_Offline:(NSString* )vid;
  79. //+(NSDictionary*) add_toCart:(NSString* ) item_id count:(int) count name:(NSString *)name;
  80. //+(NSDictionary*) add_toCart_byName:(NSString* ) model_name withScreen:(NSString *)screenName;
  81. //+(NSDictionary*) add_toWatchList:(NSString* ) item_id withScreen:(NSString *)screenName;
  82. //+(NSDictionary*)request_Cart:(int)sort;
  83. //+(NSDictionary*)request_WatchList:(int)sort;
  84. //+(NSDictionary*) portfolio_setPrice:(NSString*) watchlist_id price:(float) price discount:(float) discount QTY:(int)qty qty_p:(float) qty_p notes:(NSString*)notes;
  85. //+(NSDictionary*) portfolio_setQTY:(NSString*) watchlist_id QTY:(int)qty;
  86. //+(NSDictionary*) cart_remove:(NSString* ) item_ids;
  87. //+(NSDictionary*) cart_check:(NSString* ) item_ids;
  88. //+(NSDictionary*) watchlist_remove:(NSString* ) item_ids;
  89. //+(NSDictionary*) move_wish2cart:(NSString* ) item_ids;
  90. //+(NSDictionary*) move_cart2wish:(NSString* ) item_ids;
  91. //+(NSDictionary*)request_OrderList:(int ) offset limit :(int)limit keywords :(NSString* ) keywords status:(NSString*) status_code customer:(NSString*) customer is_merged:(BOOL) isMerged;
  92. //+(NSDictionary*)request_OrderDetail:(NSMutableDictionary *) params;
  93. //+(NSDictionary*)commit_Order:(NSString*) order_code;// saved:(bool) saved;
  94. //+(NSDictionary*)copy_Order:(NSString*) order_code;
  95. //+(NSDictionary*)sign_Order:(NSString*) order_code path:(NSString*)path;
  96. //+(NSDictionary*)update_OrderCustomer:(NSString*) order_code customerinfo:(NSMutableDictionary*)info;
  97. //+(NSDictionary*)saveandcommit_Order:(NSMutableDictionary*)params;
  98. //+(NSDictionary*) new_Order;
  99. //+(NSDictionary*)open_Order:(NSString*) order_code;
  100. //+(NSDictionary*)release_Order:(NSString*) order_code withScreen:(NSString *)screenName;
  101. //+(NSDictionary*)save_Order:(NSMutableDictionary*)params;
  102. //+(NSDictionary*)delete_Order:(NSString*) order_id;
  103. //+(NSDictionary*)cancel_Order:(NSString*) order_id order_code:(NSString*) order_code;
  104. //+(NSDictionary*)request_PendingOrder:(NSString* ) contactid;
  105. //+(NSDictionary*)request_CustomerInfo:(NSString* ) contactid;
  106. //+(NSDictionary*)update_customer_img: (NSString*) contactid img_url:(NSString*) url ;
  107. //+(NSDictionary*) new_Customer;
  108. //+(NSDictionary*)save_newCustomer:(NSMutableDictionary*)params;
  109. //+(NSDictionary*)update_Customer:(NSMutableDictionary*)params;
  110. //+(NSDictionary*)create_Address:(NSMutableDictionary*)params;
  111. //+(NSDictionary*)request_ContactList:(int) offset limit:(int)limit keywords:(NSString*) keywords type:(NSString*) contact_type adv_search:(NSDictionary*)upparams;
  112. //+(NSDictionary*)Search:(long ) offset limit :(long)limit keywords :(NSString*) keywords matchfull:(bool)matchfull;
  113. //+(NSDictionary*)ItemSearch:(long ) offset limit :(long)limit covertype:(NSString* ) covertype ctgid:(NSString*)ctgid modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller;
  114. //+(NSDictionary*)request_Editor:(NSString*) request_url params:(NSMutableDictionary*)params;
  115. //+(NSDictionary*)request_PDFList:(int ) offset limit:(int)limit keywords:(NSString* ) keywords ;
  116. //+(NSDictionary*)request_TearSheet:(NSMutableDictionary*)params;
  117. //+(NSDictionary*)save_TearSheet:(NSMutableDictionary *)params;
  118. //+(NSDictionary*)direct_save_TearSheet:(NSMutableDictionary*)params;//(NSString*) request_url name:(NSString*)name delete:(NSString* )ids note:(NSString* )saveNote modelIds:(NSDictionary *)modelIds;
  119. //+(NSDictionary*)Category_addall: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword offset:(long) offset limit:(long) limit alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip orderCode:(NSString*) orderCode addTo:(NSString*) addTo;
  120. //+(NSDictionary*)category_addall2wish: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword offset:(long) offset limit:(long) limit alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip;
  121. //+(NSDictionary*)category_addall2portfolio: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword offset:(long) offset limit:(long) limit alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip;
  122. //+(NSString*) create_portfolio:(NSMutableDictionary*)params ;
  123. //+(NSDictionary*)Search_addall:(long ) offset limit :(long)limit keywords :(NSString*) keywords matchfull:(bool)matchfull orderCode:(NSString*) orderCode addTo:(NSString*) addTo;
  124. //+(NSDictionary*)ItemSearch_addall:(long ) offset limit :(long)limit covertype:(NSString* ) covertype ctgid:(NSString*)ctgid modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller orderCode:(NSString*) orderCode addTo:(NSString*) addTo;
  125. //+(NSDictionary*)err_log:(NSString*) up_params result:(NSString*)result module:(NSString*) module code:(int) code;
  126. //+(NSDictionary*)category_LoadMore: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword offset:(int)offset;
  127. //+(NSData*)fake_json:(NSString*) url;
  128. //+(NSDictionary*)request_ItemDetail: (NSString* ) item_id category_id:(NSString*) category_id price_template:(int) price_template customid:(int) customid;
  129. //+(NSDictionary*)request_OrderInfo:(NSString*) orderid;
  130. //+(NSDictionary*)request_Editor:(NSString*) sourceid editor:(NSString*)editor;
  131. //+(NSString *)flattenHTML:(NSString *)html trimWhiteSpace:(BOOL)trim;
  132. //+ (NSDictionary *)set_npd_shop_price_type:(NSInteger) priceType;
  133. //+ (NSDictionary *)get_npd_shop_givenPrice;
  134. //+ (NSDictionary *)set_npd_shop_givenPrice:(NSMutableDictionary *)params;
  135. //+ (NSDictionary *)merge_order:(NSMutableDictionary *)params;
  136. //+ (NSDictionary *)lock_order:(NSString *)oderCode;
  137. //+ (NSDictionary *)quoteOrder:(NSString *)so_id emailAddr:(NSString *)addr;// email cart as quote
  138. //+ (NSDictionary *)notifyModel:(NSString *)modelID emailAddr:(NSString *)addr withScreen:(NSString *)screenName;
  139. //+ (NSDictionary *)quoteWishlist2EmailAddr:(NSString *)addr;
  140. //
  141. //+ (NSDictionary *)movetobackorder:(NSString *)cart_item_id;
  142. //
  143. //+ (NSDictionary*)request_hangTag:(NSString *)group;
  144. #pragma mark 2020 new interface
  145. // 新接口逐步替换以前的网络请求,2020
  146. +(void)request_home:(int) price_template customid:(int) customid completionHandler:(resultHandler)result;
  147. +(void)request_category:(resultHandler)result;
  148. +(void)request_categorylist: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword offset:(long) offset limit:(long) limit alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip completionHandler:(resultHandler)result;
  149. +(void)request_modeldetail: (NSString* ) item_id model_name:(NSString*) model_name category_id:(NSString*) category_id use_name :(bool) use_name groupName:(NSString *)groupName completionHandler:(resultHandler)result;
  150. +(void)request_search:(long ) offset limit :(long)limit keywords :(NSString*) keywords matchfull:(bool)matchfull completionHandler:(resultHandler)result;
  151. +(void)request_login: (NSString*) user password:(NSString*) password completionHandler:(resultHandler)result;
  152. +(void)request_contactlist:(int) offset limit:(int)limit keywords:(NSString*) keywords type:(NSString*) contact_type adv_search:(NSDictionary*)upparams completionHandler:(resultHandler)result;
  153. +(void)request_contactinfo:(NSString* ) contactid completionHandler:(resultHandler)result;
  154. //+(void)request_editor:(NSString*) request_url params:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  155. +(void)request_wishlist:(int)sort completionHandler:(resultHandler)result;
  156. +(void)request_portfoliolist:(int)sort completionHandler:(resultHandler)result;
  157. +(void)request_portfoliopdf:(int ) offset limit:(int)limit keywords:(NSString* ) keywords completionHandler:(resultHandler)result;
  158. +(void)request_orderlist:(int ) offset limit :(int)limit keywords :(NSString* ) keywords status:(NSString*) status_code customer:(NSString*) customer is_merged:(BOOL) isMerged completionHandler:(resultHandler)result;
  159. +(void)request_logout:(resultHandler)result;
  160. + (void)request_hangtag:(NSString *)group completionHandler:(resultHandler)result;
  161. + (void)request_movetobackorder:(NSString *)cart_item_id completionHandler:(resultHandler)result;
  162. + (void)request_emailwishlist:(NSString *)addr completionHandler:(resultHandler)result;
  163. +(void)request_notifymodel:(NSString *)modelID emailAddr:(NSString *)addr withScreen:(NSString *)screenName completionHandler:(resultHandler)result;
  164. + (void)request_qouteorder:(NSString *)so_id emailAddr:(NSString *)addr completionHandler:(resultHandler)result;
  165. + (void)request_mergeorder:(NSMutableDictionary *)params completionHandler:(resultHandler)result;
  166. +(void)request_pendingorder:(NSString *)contactid completionHandler:(resultHandler)result;
  167. +(void) request_removeportfolio:(NSString* ) item_ids completionHandler:(resultHandler)result;
  168. +(void) request_removeportfoliopdf:(NSString* ) listid completionHandler:(resultHandler)result;
  169. +(void) request_remove_wishlist:(NSString* ) item_ids completionHandler:(resultHandler)result;
  170. +(void) request_remove_cart:(NSString* ) item_ids completionHandler:(resultHandler)result;
  171. +(void) request_create_order:(resultHandler)result;
  172. +(void)request_open_order:(NSString*) order_code completionHandler:(resultHandler)result;
  173. +(void)request_cart:(int)sort completionHandler:(resultHandler)result;
  174. +(void) request_move_wish2cart:(NSString* ) item_ids completionHandler:(resultHandler)result;
  175. +(void) request_move_cart2wish:(NSString* ) item_ids completionHandler:(resultHandler)result;
  176. +(void)request_orderdetail:(NSMutableDictionary *) params completionHandler:(resultHandler)result;
  177. //+(void)request_commit_order:(NSString*) order_code completionHandler:(resultHandler)result;
  178. +(void)request_copy_order:(NSString*) order_code completionHandler:(resultHandler)result;
  179. //+ (void)request_fastdownload:(NSMutableDictionary *)params url:(NSString *)url completionHandler:(resultHandler)result;
  180. +(void) request_addto_portfolio:(NSString* ) item_id withScreen:(NSString *)screenName completionHandler:(resultHandler)result;
  181. +(void)request_addall_search:(long ) offset limit :(long)limit keywords :(NSString*) keywords matchfull:(bool)matchfull orderCode:(NSString*) orderCode addTo:(NSString*) addTo completionHandler:(resultHandler)result;
  182. +(void) request_addto_cart_byname:(NSString* ) model_name withScreen:(NSString *)screenName completionHandler:(resultHandler)result;
  183. +(void) request_addto_wishlist:(NSString* ) item_id withScreen:(NSString *)screenName completionHandler:(resultHandler)result;
  184. +(void)request_addall_itemsearch:(long ) offset limit :(long)limit covertype:(NSString* ) covertype ctgid:(NSString*)ctgid modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller orderCode:(NSString*) orderCode addTo:(NSString*) addTo completionHandler:(resultHandler)result;
  185. +(void)request_addall_category: (NSString*) category customid:(int) customid price_template:(int) price_template sort:(int) sort_by filter:(NSString*) filter keyword:(NSString*) keyword offset:(long) offset limit:(long) limit alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip orderCode:(NSString*) orderCode addTo:(NSString*) addTo completionHandler:(resultHandler)result;
  186. +(void)request_save_order:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  187. +(void) request_update_cartqty:(NSString*) cart_id value:(int) value completionHandler:(resultHandler)result;
  188. +(void) request_update_cartgeneralnote:(NSString*) order_code notes:(NSString*) notes completionHandler:(resultHandler)result;
  189. +(void) request_update_cartitemnote:(NSString*) cart_id notes:(NSString*) notes completionHandler:(resultHandler)result;
  190. + (void)request_update_npd_shop_price_type:(NSInteger)priceType completionHandler:(resultHandler)result;
  191. + (void)request_npd_shop_givenprice:(resultHandler)result;
  192. + (void)request_update_npd_shop_givenprice:(NSMutableDictionary *)params completionHandler:(resultHandler)result;
  193. +(void) request_create_portfolio:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  194. +(void)request_save_portfoliodirectly:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  195. +(void)request_save_portfolio:(NSMutableDictionary *)params completionHandler:(resultHandler)result;
  196. +(void)request_portfoliopreview:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  197. +(void)request_itemsearch:(long ) offset limit :(long)limit covertype:(NSString* ) covertype ctgid:(NSString*)ctgid modelname:(NSString*) modelname modeldescrip:(NSString*)modeldescrip alert:(NSString*)alert qty:(NSString*)qty available:(NSString*)available price:(NSString*)price bestseller:(NSString*)bestseller completionHandler:(resultHandler)result;
  198. +(void)request_modelqty: (NSString*) fashionId completionHandler:(resultHandler)result;
  199. +(void) request_update_portfolio_price:(NSString*) watchlist_id price:(float) price discount:(float) discount QTY:(int)qty qty_p:(float) qty_p notes:(NSString*)notes completionHandler:(resultHandler)result;
  200. +(void)request_add_customer:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  201. +(void)request_update_customer:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  202. +(void)request_delete_order:(NSString*) order_id completionHandler:(resultHandler)result;
  203. +(void)request_cancel_order:(NSString*) order_id order_code:(NSString*) order_code completionHandler:(resultHandler)result;
  204. +(void)request_release_order:(NSString*) order_code withScreen:(NSString *)screenName completionHandler:(resultHandler)result;
  205. +(void)request_update_order_signature:(NSString*) order_code path:(NSString*)path completionHandler:(resultHandler)result;
  206. +(void) request_update_cart_modelprice:(NSString*) cart_id price:(float) price discount:(float) discount notes:(NSString*) notes completionHandler:(resultHandler)result;
  207. +(void) request_addto_cart:(NSString* ) item_id count:(int) count name:(NSString *)name completionHandler:(resultHandler)result;
  208. +(void)request_retrieve_password: (NSString*) user email:(NSString*) email completionHandler:(resultHandler)result;
  209. +(void)request_update_ordercustomer:(NSString*) order_code customerinfo:(NSMutableDictionary*)info completionHandler:(resultHandler)result;
  210. //+(void)request_update_customer_img: (NSString*) contactid img_url:(NSString*) url completionHandler:(resultHandler)result;
  211. //+(void)request_commoneditor_partialrefresh: (NSMutableDictionary*)params url:(NSString*)url completionHandler:(resultHandler)result;
  212. +(void)request_add_address:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  213. +(void)request_commit_order:(NSMutableDictionary*)params completionHandler:(resultHandler)result;
  214. #pragma mark offline
  215. +(void) request_new_offline_ticket:(NSString* )ver useInternalAddress:(bool)buseinternaladdress vid:(NSString*)vid completionHandler:(resultHandler)result;
  216. +(void) request_complete_offline_ticket:(NSString* )vid completionHandler:(resultHandler)result;
  217. +(void) request_download_offline:(NSString* )vid completionHandler:(resultHandler)result;
  218. + (void)request_fastupload:(NSMutableDictionary *)params filename:(NSString*)filename data:(NSData*) data url:(NSString *)url completionHandler:(resultHandler)result;
  219. +(void)request_err_log:(NSString*) up_params result:(NSString*)result_str module:(NSString*) module code:(int) code completionHandler:(resultHandler)result;
  220. @end