1234567891011121314151617181920212223242526272829303132333435 |
- //
- // Target_Goods.m
- // Asteria
- //
- // Created by 王猛 on 2023/5/8.
- //
- #import "Target_Goods.h"
- #import "AS_GoodsDetailsC.h"
- #import "AS_GoodsSizeC.h"
- #import "GoodsReviewsWriteC.h"
- @implementation Target_Goods
- - (UIViewController *)Action_AS_GoodsDetailsC:(NSDictionary *)params{
- AS_GoodsDetailsC *vc = [[AS_GoodsDetailsC alloc]init];
- vc.entity_id = params[@"entity_id"];
- return vc;
- }
- - (UIViewController *)Action_AS_GoodsSizeC:(NSDictionary *)params{
- AS_GoodsSizeC *vc = [[AS_GoodsSizeC alloc]init];
- vc.entity_id = params[@"entity_id"];
- vc.model = params[@"model"];
- return vc;
- }
- - (UIViewController *)Action_WriteReview:(NSDictionary *)params {
- GoodsReviewsWriteC *vc = [[GoodsReviewsWriteC alloc]init];
- GoodsInformationM *info = [[GoodsInformationM alloc] init];
- info.Id = params[@"entity_id"];
- vc.goodsM = info;
- vc.nav_title = @"REVIEWS";
- return vc;
- }
- @end
|