|
@@ -0,0 +1,36 @@
|
|
|
+package com.gis.api.controller;
|
|
|
+
|
|
|
+import com.gis.common.util.Result;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
+import springfox.documentation.annotations.ApiIgnore;
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Created by owen on 2021/7/13 0013 14:19
|
|
|
+ */
|
|
|
+@ApiIgnore
|
|
|
+@Slf4j
|
|
|
+@Api(tags = "测试")
|
|
|
+@RestController
|
|
|
+public class TestController {
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation("保存人流量")
|
|
|
+ @GetMapping("/{aa}/test")
|
|
|
+ public Result saveVisit(@PathVariable String aa){
|
|
|
+ log.info("参数: {}", aa);
|
|
|
+
|
|
|
+ return Result.failure(aa);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("保存人流量api")
|
|
|
+ @GetMapping("/{aa}/api")
|
|
|
+ public Result saveVisitapi(@PathVariable String aa){
|
|
|
+ log.info("参数: {}", aa);
|
|
|
+
|
|
|
+ return Result.failure(aa);
|
|
|
+ }
|
|
|
+}
|