huangxingxing 3 месяцев назад
Родитель
Сommit
55eb9f62cd

+ 1 - 9
adi-admin/src/main/java/com/adi/AdiApplication.java

@@ -16,15 +16,7 @@ public class AdiApplication
     {
         // System.setProperty("spring.devtools.restart.enabled", "false");
         SpringApplication.run(AdiApplication.class, args);
-        System.out.println("(♥◠‿◠)ノ゙  后端启动成功   ლ(´ڡ`ლ)゙  \n" +
-                " .-------.       ____     __        \n" +
-                " |  _ _   \\      \\   \\   /  /    \n" +
-                " | ( ' )  |       \\  _. /  '       \n" +
-                " |(_ o _) /        _( )_ .'         \n" +
-                " | (_,_).' __  ___(_ o _)'          \n" +
-                " |  |\\ \\  |  ||   |(_,_)'         \n" +
-                " |  | \\ `'   /|   `-'  /           \n" +
-                " |  |  \\    /  \\      /           \n" +
+        System.out.println("(♥◠‿◠)ノ゙  后端启动成功   ლ(´ڡ`ლ)゙  \n"+
                 " ''-'   `'-'    `-..-'              ");
     }
 }

+ 4 - 10
adi-admin/src/main/java/com/adi/airopt/controller/UserController.java

@@ -1,26 +1,20 @@
 package com.adi.airopt.controller;
 
-import com.adi.common.config.AdiConfig;
-import com.adi.common.constant.CacheConstants;
 import com.adi.common.core.controller.BaseController;
 import com.adi.common.core.domain.AjaxResult;
-import com.adi.common.core.domain.entity.SysUser;
 import com.adi.common.core.page.PageDomain;
-import com.adi.common.core.page.TableDataInfo;
 import com.adi.common.core.page.TableSupport;
 import com.adi.common.core.redis.RedisCache;
-import com.adi.common.utils.PageUtils;
 import com.adi.config.AiroptHttpConfig;
-import com.adi.framework.web.domain.server.Sys;
-import com.adi.system.domain.SysUserOnline;
 import com.adi.util.HttpUtils;
 import com.alibaba.fastjson2.JSONObject;
-import com.github.pagehelper.PageHelper;
 import org.apache.http.HttpResponse;
 import org.apache.http.util.EntityUtils;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.security.access.prepost.PreAuthorize;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 import java.io.IOException;
 import java.util.*;

+ 1 - 23
adi-admin/src/main/resources/banner.txt

@@ -1,24 +1,2 @@
-Application Version: ${ruoyi.version}
+Application Version: ${adi.version}
 Spring Boot Version: ${spring-boot.version}
-////////////////////////////////////////////////////////////////////
-//                          _ooOoo_                               //
-//                         o8888888o                              //
-//                         88" . "88                              //
-//                         (| ^_^ |)                              //
-//                         O\  =  /O                              //
-//                      ____/`---'\____                           //
-//                    .'  \\|     |//  `.                         //
-//                   /  \\|||  :  |||//  \                        //
-//                  /  _||||| -:- |||||-  \                       //
-//                  |   | \\\  -  /// |   |                       //
-//                  | \_|  ''\---/''  |   |                       //
-//                  \  .-\__  `-`  ___/-. /                       //
-//                ___`. .'  /--.--\  `. . ___                     //
-//              ."" '<  `.___\_<|>_/___.'  >'"".                  //
-//            | | :  `- \`.;`\ _ /`;.`/ - ` : | |                 //
-//            \  \ `-.   \_ __\ /__ _/   .-` /  /                 //
-//      ========`-.____`-.___\_____/___.-`____.-'========         //
-//                           `=---='                              //
-//      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        //
-//             佛祖保佑       永不宕机      永无BUG               //
-////////////////////////////////////////////////////////////////////

+ 1 - 1
adi-admin/src/main/resources/logback.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration>
     <!-- 日志存放路径 -->
-	<property name="log.path" value="/home/ruoyi/logs" />
+	<property name="log.path" value="/home/adi/logs" />
     <!-- 日志输出格式 -->
 	<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />