package com.zt.plat.qms.controller.qms;

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 com.zt.plat.framework.common.pojo.CommonResult;

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

/**
 * qms 控制器
 *
 * @author ZT
 */
@Tag(name = "qms")
@RestController
@RequestMapping("/qms")
public class QmsController {

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

}
