xiongzhu 4 yıl önce
ebeveyn
işleme
b2439e53ca

+ 5 - 0
src/main/java/com/izouma/nineth/web/AppVersionController.java

@@ -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("版本不存在"));
+    }
 }