| | |
| | | |
| | | import cn.dev33.satoken.annotation.SaIgnore; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * 首页 |
| | |
| | | */ |
| | | @SaIgnore |
| | | @RequiredArgsConstructor |
| | | @Controller |
| | | @RestController |
| | | public class IndexController { |
| | | |
| | | /** |
| | |
| | | */ |
| | | @GetMapping("/") |
| | | public String index() { |
| | | return "RuoYi-AI 启动成功!"; |
| | | } |
| | | |
| | | @GetMapping("/success") |
| | | public String success(){ |
| | | return "paySuccess.html"; |
| | | } |
| | | |
| | | @GetMapping("/cancel") |
| | | public String cancel(){ |
| | | return "cancel"; |
| | | return "RuoYi-AI 启动成功"; |
| | | } |
| | | |
| | | } |