123456789101112131415161718192021222324252627282930 |
- //
- // ASProductListViewModel.h
- // Asteria
- //
- // Created by iOS on 2023/6/12.
- //
- #import <Foundation/Foundation.h>
- #import "ASProductBaseModel.h"
- #import "KWProductListFilterModel.h"
- #import "ASProductListCategoryModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface ASProductListViewModel : NSObject
- @property (nonatomic, strong) NSArray <ASProductBaseModel *> *productList;
- @property (nonatomic, strong) ASProductListCategoryModel *cateModel;
- @property (nonatomic, strong) NSArray<KWProductListFilterModel *> *sourceArr;
- @property (nonatomic, strong) NSMutableDictionary<NSString *,KWProductListFilterSubModel *> *selectDic;
- @property (nonatomic, strong) NSMutableArray<KWProductListFilterModel *> *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;
- @end
- NS_ASSUME_NONNULL_END
|