zyp 2 settimane fa
parent
commit
0a8da366b8

+ 8 - 0
fs-doctor-app/src/main/java/com/fs/app/controller/CommonController.java

@@ -139,6 +139,14 @@ public class CommonController {
 		return R.ok().put("data",version);
 	}
 
+	@ApiOperation("获取最新版本")
+	@GetMapping("/testGit")
+	public R testGit(@RequestParam("appType")Integer appType)
+	{
+		FsAppVersion version=appVersionService.getNewAppVersion(appType);
+		return R.ok().put("data",version);
+	}
+
 	@ApiOperation("获取数据字典")
 	@GetMapping("/getDictByKey")