ASProductListViewModel.h 982 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // ASProductListViewModel.h
  3. // Asteria
  4. //
  5. // Created by iOS on 2023/6/12.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "ASProductBaseModel.h"
  9. #import "KWProductListFilterModel.h"
  10. #import "ASProductListCategoryModel.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface ASProductListViewModel : NSObject
  13. @property (nonatomic, strong) NSArray <ASProductBaseModel *> *productList;
  14. @property (nonatomic, strong) ASProductListCategoryModel *cateModel;
  15. @property (nonatomic, strong) NSArray<KWProductListFilterModel *> *sourceArr;
  16. @property (nonatomic, strong) NSMutableDictionary<NSString *,KWProductListFilterSubModel *> *selectDic;
  17. @property (nonatomic, strong) NSMutableArray<KWProductListFilterModel *> *showArr;
  18. - (void)getProductListData:(NSString *)catId page:(NSInteger)page orderBy:(NSInteger)orderBy dir:(NSString *)dir com:(void(^)(BOOL hasNext, NSString *msg))com;
  19. - (void)getPoint:(NSString *)pointType com:(void(^)(BOOL isSuc, NSString *msg))com;
  20. @end
  21. NS_ASSUME_NONNULL_END