package com.bonus.canteen.core.android.service.impl;

import com.bonus.canteen.core.android.dto.AppDTO;
import com.bonus.canteen.core.android.mapper.FaceMapper;
import com.bonus.canteen.core.android.service.FaceService;
import com.bonus.canteen.core.user.domain.UserFace;
import com.bonus.common.core.web.domain.AjaxResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * @author 19814
 */
@Service
public class FaceServiceImpl implements FaceService {
    @Resource
    private FaceMapper mapper;
    @Override
    public AjaxResult getFaceFeatureList(AppDTO dto) {
        List<UserFace> list = mapper.getFaceFeatureList(dto);
        return AjaxResult.success(list);
    }
}
