省钱达人老版本

YHGoodDetailRequestViewModel.h 1.1KB

1234567891011121314151617181920212223242526
  1. //
  2. // YHGoodDetailRequestViewModel.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 "YHGoodDetailModel.h"
  10. #import "YHChildGoodModel.h"
  11. @interface YHGoodDetailRequestViewModel : NSObject
  12. + (void)requestGoodDetailParamGoods_id:(NSString *)goods_id success:(void(^)(YHGoodDetailModel *model,NSDictionary *dic))success failure:(void(^)(NSError *error))failure;
  13. + (void)requestGoodSimilarParamGoods_id:(NSString *)goods_id success:(void(^)(NSArray *array))success failure:(void(^)(NSError *error))failure;
  14. + (void)requestShopGoodParamSellerId:(NSString *)sellerId Page:(NSInteger)page success:(void(^)(NSArray *array))success failure:(void(^)(NSError *error))failure;
  15. + (void)requestCollectGoodParamGoods_id:(NSString *)goods_id is_collect:(NSNumber *)is_collect success:(void(^)(NSString *msg))success failure:(void(^)(NSError *error))failure;
  16. + (void)requestTicketProcessParamGoods_id:(NSString *)goods_id coupon_price:(NSString *)coupon_price success:(void (^)(NSString *msg))success failure:(void (^)(NSError *error))failure;
  17. @end