説明なし

FKAddressDetailViewModel.h 1006B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // AddressViewModel.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 15/6/11.
  6. // Copyright (c) 2015年 FirstLink. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "FKAddressDetailController.h"
  10. #import "ShipAddress.h"
  11. #import "FKIdCardItem.h"
  12. extern int const FKAddressDetailRequestAdd;
  13. extern int const FKAddressDetailRequestModify;
  14. @interface FKAddressDetailViewModel : NSObject
  15. + (NSString *)navigationTitle:(FKAddressDetailControllerType)contollerType;
  16. + (void)requestIdCardListSuccess:(void (^)(MSGHeader *header, id responseObject))success
  17. failure:(void (^)(MSGHeader *header, NSError *error))failure;
  18. #pragma mark -
  19. + (BOOL)checkShipAddressFormat:(ShipAddress*)address error:(NSError**)error;
  20. /**
  21. * 请求最新的省市列表
  22. */
  23. + (void)asyncRequestProvinceCity;
  24. /**
  25. * 检查如果有从远程下载的地址文件,就返回远程文件;否则返回app中打包的地址文件;
  26. */
  27. + (NSString*)latestVersionProvinceCityFilePath;
  28. @end