package com.ruoyi.controller;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.vo.RyController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;


/**
 * 异步回调接口
 */
@CrossOrigin
@RestController
@RequestMapping("/api/callback")
@Api(tags = "异步回调接口")
public class ApiCallbackController extends RyController {

    @RequestMapping(value = "/wxMediaCheckAsync", method = RequestMethod.POST)
    @ApiOperation(value = "微信图片验证接口回调",notes = "微信图片验证接口回调")
    public String wxMediaCheckAsync(HttpServletRequest request, HttpServletResponse response) {
        Map<String, String[]> map = request.getParameterMap();
        System.err.printf(map.toString());


        return "success";
    }

}
