package com.api.controller;

import com.common.utils.R;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/interceptor")
public class InterceptorTestController {

    @GetMapping("test1")
    @ResponseBody
    public R test1(@RequestParam("param") String param) {
        return R.ok("ok");
    }
}
