口袋优选

KBGoodDetailRequestViewModel.h 1.1KB

123456789101112131415161718192021222324252627
  1. //
  2. // KBGoodDetailRequestViewModel.h
  3. // YouHuiProject
  4. //
  5. // Created by xiaoxi on 2018/1/24.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "KBGoodDetailModel.h"
  10. #import "KBChildGoodModel.h"
  11. #import "DetailRequestModel.h"
  12. @interface KBGoodDetailRequestViewModel : NSObject
  13. + (void)requestGoodDetailParamGoods_id:(DetailRequestModel *)requestModel success:(void(^)(KBGoodDetailModel *model,NSDictionary *dic))success failure:(void(^)(NSError *error))failure;
  14. + (void)requestGoodSimilarParamGoods_id:(NSString *)goods_id page:(NSNumber *)page success:(void (^)(NSArray *))success failure:(void (^)(NSError *))failure;
  15. + (void)requestShopGoodParamSellerId:(NSString *)sellerId Page:(NSInteger)page success:(void(^)(NSArray *array))success failure:(void(^)(NSError *error))failure;
  16. + (void)requestCollectGoodParamGoods_id:(NSDictionary *)para success:(void(^)(NSString *msg))success failure:(void(^)(NSError *error))failure;
  17. + (void)requestTicketProcessParamGoods_id:(NSString *)goods_id coupon_price:(NSString *)coupon_price success:(void (^)(NSString *msg))success failure:(void (^)(NSError *error))failure;
  18. @end