package com.zt.plat.module.base.controller.admin.base;

import com.zt.plat.framework.common.pojo.CommonResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.zt.plat.framework.common.pojo.CommonResult.success;

/**
 * Base 控制器
 *
 * @author ZT
 */
@Tag(name = "管理后台 - Base")
@RestController
@RequestMapping("/admin/base/base")
public class BaseTestController {

    @GetMapping("/hello")
    @Operation(summary = "Hello Base")
    public CommonResult<String> hello() {
        return success("Hello, Base!");
    }

}
