package org.jeecg.modules.sap.controller;
|
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import lombok.extern.slf4j.Slf4j;
|
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.modules.sap.service.SAPService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
@Api(tags = "SAP集成测试")
|
@RestController
|
@RequestMapping("/sap/client")
|
@Slf4j
|
public class SAPTestController {
|
@Autowired
|
private SAPService sapService;
|
|
@ApiOperation(value = "SAP集成测试-测试接口", notes = "SAP集成测试-测试接口")
|
@GetMapping("/test")
|
public Result<?> test() {
|
String test = sapService.test();
|
return Result.ok(test);
|
}
|
}
|