|
@@ -1,14 +0,0 @@
|
|
|
-package com.smart.reader.controller;
|
|
|
|
|
-import com.smart.reader.common.R;
|
|
|
|
|
-import com.smart.reader.enums.SuccessResultCode;
|
|
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
-@RequestMapping("/api/v1/")
|
|
|
|
|
-@RestController
|
|
|
|
|
-public class HelloWorldController {
|
|
|
|
|
- @GetMapping
|
|
|
|
|
- public R helloWorld() {
|
|
|
|
|
- return R.success(200,"操作成功", "hello world");
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|