Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/eitc-erm' into eitc-erm

matianxiang 4 mesi fa
parent
commit
2ad71c2f35

+ 11 - 0
eitc-patient-pc/src/main/java/com/eitc/patient/controller/ClinicInfoController.java

@@ -111,4 +111,15 @@ public class ClinicInfoController extends BaseController {
111 111
     }
112 112
 
113 113
 
114
+
115
+    /**
116
+     * 获取升级状态
117
+     * @return
118
+     */
119
+    @GetMapping(value ="getUpgradeStatus")
120
+    @ApiOperation("获取升级状态")
121
+    public AjaxResult getUpgradeStatus() {
122
+        return success(clinicInfoHelper.getUpgradeStatus());
123
+    }
124
+
114 125
 }

+ 4 - 0
eitc-patient-pc/src/main/java/com/eitc/patient/help/ClinicInfoHelper.java

@@ -218,4 +218,8 @@ public class ClinicInfoHelper {
218 218
         return downloadStatus;
219 219
 
220 220
     }
221
+
222
+    public String getUpgradeStatus() {
223
+        return redisCache.getCacheObject("upgradeMsg");
224
+    }
221 225
 }