test:测试重定向接口

This commit is contained in:
曾文豪
2023-05-15 10:36:40 +08:00
parent 9420c39c75
commit fbc49f0248
3 changed files with 23 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ import com.tiesheng.util.config.Ip2regionConfig;
import com.tiesheng.util.pojos.ApiResp;
import com.tiesheng.util.pojos.FileUploadPath;
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;
@@ -58,9 +59,7 @@ public class TestController {
@RequestMapping("/index")
public ApiResp<String> index() {
dbBackupConfig.dbBackup();
return ApiResp.respOK("hello world");
}