ASGoodsDetailsVM.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // ASGoodsDetailsVM.h
  3. // Asteria
  4. //
  5. // Created by 王猛 on 2023/12/26.
  6. //
  7. #import "RYBaseVM.h"
  8. #import "GoodsInformationM.h"
  9. #import "GoodsReviewsListM.h"
  10. #import "HomeFilterModel.h"
  11. #import "ASGoodsCouponCell.h"
  12. #define Goods_productGetProductsById BaseRequestrUrl(@"rewrite/product/getProductsById")
  13. #define Goods_productGetProductsReview BaseRequestrUrl(@"rewrite/product/getProductReview")
  14. ///商品详情优惠券/V1/rewrite/product/getCoupon
  15. #define Goods_productCoupon BaseRequestrUrl(@"rewrite/product/getCoupon")
  16. ///评论点赞
  17. #define Reviews_rewriteProductAddReviewzan BaseRequestrUrl(@"rewrite/product/addReviewzan")
  18. ///添加评论图片
  19. #define Reivews_rewriteProductAddImg BaseRequestrUrl(@"rewrite/product/addImgBase64")
  20. ///添加评论
  21. #define Reviews_rewriteProductAddReview BaseRequestrUrl(@"rewrite/product/addReview")
  22. //加购相关内容
  23. #define Size_rewriteCartAddProducts BaseRequestrUrl(@"rewrite/cart/addProducts")
  24. NS_ASSUME_NONNULL_BEGIN
  25. @interface ASGoodsDetailsVM : RYBaseVM
  26. +(NSMutableAttributedString *)tool_changePriceAtr:(GoodsInformationM *)model;
  27. +(NSMutableAttributedString *)tool_addOptionPrice:(CGFloat)addPrice quantity:(NSInteger)quantity infoMoel:(GoodsInformationM *)mode;
  28. @end
  29. NS_ASSUME_NONNULL_END