Target_Goods.m 921 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // Target_Goods.m
  3. // Asteria
  4. //
  5. // Created by 王猛 on 2023/5/8.
  6. //
  7. #import "Target_Goods.h"
  8. #import "AS_GoodsDetailsC.h"
  9. #import "AS_GoodsSizeC.h"
  10. #import "GoodsReviewsWriteC.h"
  11. @implementation Target_Goods
  12. - (UIViewController *)Action_AS_GoodsDetailsC:(NSDictionary *)params{
  13. AS_GoodsDetailsC *vc = [[AS_GoodsDetailsC alloc]init];
  14. vc.entity_id = params[@"entity_id"];
  15. return vc;
  16. }
  17. - (UIViewController *)Action_AS_GoodsSizeC:(NSDictionary *)params{
  18. AS_GoodsSizeC *vc = [[AS_GoodsSizeC alloc]init];
  19. vc.entity_id = params[@"entity_id"];
  20. vc.model = params[@"model"];
  21. return vc;
  22. }
  23. - (UIViewController *)Action_WriteReview:(NSDictionary *)params {
  24. GoodsReviewsWriteC *vc = [[GoodsReviewsWriteC alloc]init];
  25. GoodsInformationM *info = [[GoodsInformationM alloc] init];
  26. info.Id = params[@"entity_id"];
  27. vc.goodsM = info;
  28. vc.nav_title = @"REVIEWS";
  29. return vc;
  30. }
  31. @end