| | |
| | | package com.java110.web.components; |
| | | |
| | | |
| | | import com.java110.core.context.IPageData; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | * 测试版本号 |
| | | * @return |
| | | */ |
| | | public ResponseEntity<String> getTestVersion(String msg){ |
| | | public ResponseEntity<String> getTestVersion(IPageData pd){ |
| | | |
| | | return new ResponseEntity<String>(msg+ " vue test v0.0.1", HttpStatus.OK); |
| | | return new ResponseEntity<String>(pd.getReqData()+ " vue test v0.0.1", HttpStatus.OK); |
| | | } |
| | | |
| | | } |