Commit 357b583e by dengshichuan

Merge branch 'dsc' into 'develop'

测试服务器版本

See merge request 8timerv2/8timerapiv200!28
parents 4acd4af0 45b594ed
...@@ -678,13 +678,18 @@ public class DzhtController { ...@@ -678,13 +678,18 @@ public class DzhtController {
} }
@GetMapping("/queryName") @GetMapping("/queryName")
@ApiOperation(value = "查员工名字", httpMethod = "GET", notes = "接口发布说明") @ApiOperation(value = "查版本名字", httpMethod = "GET", notes = "接口发布说明")
public Result<Object> getName(@RequestParam String empNum) { public Result<Object> getName(@RequestParam String empNum) {
System.err.println(System.getProperty("os.name")); String a = System.getProperty("os.name");
System.err.println(System.getProperty("os.arch")); String b = System.getProperty("os.arch");
System.err.println(System.getProperty("os.version")); String c = System.getProperty("os.version");
return ResultUtil.data(YgglMainEmp.builder().build() Map<String, String> map = new HashMap<>();
.selectOne(new QueryWrapper<YgglMainEmp>().eq("emp_num", empNum)).getName()); map.put("os.name", a);
map.put("os.arch", b);
map.put("os.version", c);
return ResultUtil.data(map);
// return ResultUtil.data(YgglMainEmp.builder().build()
// .selectOne(new QueryWrapper<YgglMainEmp>().eq("emp_num", empNum)).getName());
} }
/*************************** 设置请求头 ***************************************/ /*************************** 设置请求头 ***************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment