wyyay 1 year ago
parent
commit
4d5aa23421

+ 2 - 1
vehicle-admin/src/main/java/com/ozs/web/controller/system/MonitorSystemController.java

@@ -129,6 +129,7 @@ public class MonitorSystemController extends BaseController {
     public AjaxResult getSecret(){
         UUID id = UUID.randomUUID();
         String[] idd = id.toString().split("-");
-        return AjaxResult.success(idd[0]+idd[1]+idd[2]);
+        String secret = idd[0]+idd[1]+idd[2];
+        return AjaxResult.success("获取密钥成功!",secret);
     }
 }