package com.suntray.oa.app.modules.test;

import com.suntray.oa.app.common.response.BaseResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "测试模块")
public class TestController {

    @GetMapping(value = "/test1")
    @ApiOperation(value = "test1")
    public BaseResponse<String> test1() {
        return BaseResponse.ok("添加成功");
    }
}
