// // ASProductListViewModel.h // Asteria // // Created by iOS on 2023/6/12. // #import #import "ASProductBaseModel.h" #import "KWProductListFilterModel.h" #import "ASProductListCategoryModel.h" #import "KWSearchSubTypeModel.h" NS_ASSUME_NONNULL_BEGIN @interface ASProductListViewModel : NSObject @property (nonatomic, strong) NSArray *topLinks; @property (nonatomic, strong) NSArray *productList; @property (nonatomic, strong) ASProductListCategoryModel *cateModel; @property (nonatomic, strong) NSArray *sourceArr; @property (nonatomic, strong) NSMutableDictionary *selectDic; @property (nonatomic, strong) NSMutableArray *showArr; - (void)getProductListData:(NSString *)catId page:(NSInteger)page orderBy:(NSInteger)orderBy dir:(NSString *)dir com:(void(^)(BOOL hasNext, NSString *msg))com; - (void)getPoint:(NSString *)pointType com:(void(^)(BOOL isSuc, NSString *msg))com; -(void)getTopLinkList:(btnClickBlock)success; @end NS_ASSUME_NONNULL_END