1234567891011121314151617181920212223242526 |
- //
- // YHGoodDetailRequestViewModel.h
- // YouHuiProject
- //
- // Created by xiaoxi on 2018/1/24.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "YHGoodDetailModel.h"
- #import "YHChildGoodModel.h"
- @interface YHGoodDetailRequestViewModel : NSObject
- + (void)requestGoodDetailParamGoods_id:(NSString *)goods_id success:(void(^)(YHGoodDetailModel *model,NSDictionary *dic))success failure:(void(^)(NSError *error))failure;
- + (void)requestGoodSimilarParamGoods_id:(NSString *)goods_id success:(void(^)(NSArray *array))success failure:(void(^)(NSError *error))failure;
- + (void)requestShopGoodParamSellerId:(NSString *)sellerId Page:(NSInteger)page success:(void(^)(NSArray *array))success failure:(void(^)(NSError *error))failure;
- + (void)requestCollectGoodParamGoods_id:(NSString *)goods_id is_collect:(NSNumber *)is_collect success:(void(^)(NSString *msg))success failure:(void(^)(NSError *error))failure;
- + (void)requestTicketProcessParamGoods_id:(NSString *)goods_id coupon_price:(NSString *)coupon_price success:(void (^)(NSString *msg))success failure:(void (^)(NSError *error))failure;
- @end
|