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.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


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