package com.agileboot.ai.controller;

import com.agileboot.common.core.core.R;
import com.agileboot.common.core.exception.BizException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/ai")
public class AiController {

    @GetMapping("/test")
    public R<String> test() {
        throw new BizException("test");
//        return R.ok();
    }
}
