//
//  Target_AI.m
//  Gengmei
//
//  Created by Q14 on 2019/12/10.
//  Copyright © 2019 更美互动信息科技有限公司. All rights reserved.
//
#import "GMFaceReplayViewController.h"
#import "Target_AI.h"
@import GMCache;
//#import "Gengmei-Swift.h"
//#import <GMCache>

@implementation Target_AI
/** 跳转至测肤结果页面 */
- (UIViewController *)scan_faceimage_result:(NSDictionary *)param  {
    // 如果有测肤数据就跳转测肤结果页面
//    NSString *isShow = [GMCache fetchObjectAtDocumentPathWithkey:@"GMTestSkinIsShowData"];
//    if ([isShow isNonEmpty]) {
//        GMTestSkinAnimationWebView *controller = [[GMTestSkinAnimationWebView alloc] init];
//        [AppDelegate.navigation pushViewController:controller animated:YES];
//        return controller;
//    } else { // 没有测肤数据则默认跳转测肤页面
//        NewFaceShotController *controller = [[NewFaceShotController alloc] init];
//        controller.cameraType = GMScanAnimationTypeScanSkin;
//        [AppDelegate.navigation pushViewController:controller animated:YES];
//        return controller;
//    }
    return nil;
}

/** 跳转至OneImage页面 */
- (UIViewController *)scan_faceimage:(NSDictionary *)param {
//    NewFaceShotController *controller = [[NewFaceShotController alloc] init];
//    controller.cameraType = [param[@"face_skin_tab_index"] integerValue];
////    controller.haveTask = [param[@"has_task"] boolValue];
//    [AppDelegate.navigation pushViewController:controller animated:YES];
    return nil;
}

#warning TODO: -test
-(UIViewController *)face_point:(NSDictionary *)params {
//    GMFacePointViewController *vc = [GMFacePointViewController allo]
    return nil;
}

#warning TODO: -test
- (UIViewController *)face_replay:(NSDictionary *)params {
    GMFaceReplayViewController *vc = [[GMFaceReplayViewController alloc] init];
    return vc;
}
@end
