Your Name
2023-02-21 e23023b93f34286f5a807b0b85e9a0619a297ed7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.java110.api.components;
 
 
import com.java110.core.context.IPageData;
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(IPageData pd){
 
        return new ResponseEntity<String>(pd.getReqData()+ " vue test v0.0.1", HttpStatus.OK);
    }
 
}