|
|
@@ -0,0 +1,17 @@ |
|
|
|
package com.neusoft.smart.pos.advertisement.controller; |
|
|
|
|
|
|
|
import com.neusoft.smart.pos.framework.dto.ResponseData; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("/test") |
|
|
|
public class TestVersionController { |
|
|
|
|
|
|
|
@GetMapping("/version") |
|
|
|
public ResponseData<String> version() { |
|
|
|
return new ResponseData<>("1"); |
|
|
|
} |
|
|
|
|
|
|
|
} |