吴学文
2019-03-19 732f76a904e6f202b6d953257500e3a8aaf3dfdb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.java110.web.components;
 
 
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
 
@Component(value="vue_test")
public class VueTestComponent {
 
 
    /**
     * 测试版本号
     * @return
     */
    public ResponseEntity<String> getTestVersion(String msg){
 
        return new ResponseEntity<String>(msg+ " vue test v0.0.1", HttpStatus.OK);
    }
 
}