package com.yx.face.controller.api;
import com.yx.face.boot.core.BaseController;
import com.yx.face.boot.restful.RestResponse;
import com.yx.face.boot.restful.RestResult;
import com.yx.face.model.dto.WxInfoDTO;
import com.yx.face.service.FaceService;
import com.yx.face.service.UserInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.util.Map;
/**
* @description: 地址编码表(AreaCode)表控制层
* @author: PWB
* @since: 1.0
* @date: 2021-06-04 14:25:45
*/
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@Api(tags = "A 人脸下发相关功能接口 API")
@RestController
@RequestMapping("api/next")
public class ApiController extends BaseController {
/**
* 服务对象
*/
private final FaceService faceService;
private final UserInfoService userInfoService;
/**
* 小程序访问
* @param taskId
* @return
*/
@ApiOperation(value = "查询人脸下发是否成功")
@GetMapping("doQueryFaceSuccess")
public RestResult