1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // AddressViewModel.h
- // FirstLink
- //
- // Created by ascii on 15/6/11.
- // Copyright (c) 2015年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "FKAddressDetailController.h"
- #import "ShipAddress.h"
- #import "FKIdCardItem.h"
- extern int const FKAddressDetailRequestAdd;
- extern int const FKAddressDetailRequestModify;
- @interface FKAddressDetailViewModel : NSObject
- + (NSString *)navigationTitle:(FKAddressDetailControllerType)contollerType;
- + (void)requestIdCardListSuccess:(void (^)(MSGHeader *header, id responseObject))success
- failure:(void (^)(MSGHeader *header, NSError *error))failure;
- #pragma mark -
- + (BOOL)checkShipAddressFormat:(ShipAddress*)address error:(NSError**)error;
- /**
- * 请求最新的省市列表
- */
- + (void)asyncRequestProvinceCity;
- /**
- * 检查如果有从远程下载的地址文件,就返回远程文件;否则返回app中打包的地址文件;
- */
- + (NSString*)latestVersionProvinceCityFilePath;
- @end
|