package com.ruoyi.caltools.controller;

import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/test")
public class TestController {

    @PostMapping("/flowTest")
    public AjaxResult testFlow(@RequestBody Map<String, Object> params) {
        return AjaxResult.success("测试成功: " + params);
    }
}