|
|
@@ -61,5 +61,10 @@ public class AppVersionController extends BaseController {
|
|
|
public AppVersion checkIosReview(@RequestParam String version) {
|
|
|
return appVersionRepo.findByPlatformAndVersion("iOS", version).orElseThrow(new BusinessException("版本不存在"));
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping("/checkAndroidReview")
|
|
|
+ public AppVersion checkAndroidReview(@RequestParam String version) {
|
|
|
+ return appVersionRepo.findByPlatformAndVersion("Android", version).orElseThrow(new BusinessException("版本不存在"));
|
|
|
+ }
|
|
|
}
|
|
|
|