|
@@ -214,6 +214,12 @@
|
|
|
self.VM = [[ASGoodsDetailsVM alloc]initDelegate:self];
|
|
|
}
|
|
|
-(void)reqNet_Size_rewriteCartAddProducts:(NSInteger)type{
|
|
|
+
|
|
|
+ if (!ASUserInfoManager.shared.isLogin) {
|
|
|
+ [Fuction_Tool pop_toLoginVC];
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
NSMutableDictionary *optionDic = [NSMutableDictionary dictionary];
|
|
|
for (OptionsModel *optionM in self.xxx_optionAry) {
|
|
|
OptionsValuesM *valuesM = optionM.values[optionM.optionSelectTag];
|
|
@@ -235,9 +241,7 @@
|
|
|
if(sucessOrFail){
|
|
|
[self.view makeToast:@"Success" duration:2 position:CSToastPositionCenter title:nil image:nil style:nil completion:^(BOOL didTap) {
|
|
|
if(self.xxx_isCart){
|
|
|
- [self dismissViewControllerAnimated:YES completion:^{
|
|
|
-
|
|
|
- }];
|
|
|
+ [self dismissViewControllerAnimated:YES completion:nil];
|
|
|
}else{
|
|
|
// [self handle_closeVC];
|
|
|
// K_WEAK_SELF;
|