Browse Source

智慧库房增加个图片

Pojun 7 months ago
parent
commit
7b6394868d

BIN
tip-front/src/main/webapp/tc_suite/home/images/word.png


+ 11 - 6
tip-front/src/main/webapp/tc_suite/index_mbdb.jsp

@@ -1501,8 +1501,8 @@
                                                          alt="">
                                                 </div>
 
-                                                <div style="margin-left: 40px;cursor: pointer" id="openHuaDuApp" title="IM">
-                                                    <img src="${path}/tc_suite/home/images/msg.png" alt="" style="width: 16px;height: 16px">
+                                                <div style="margin-left: 40px;cursor: pointer" id="openHuaDuApp" title="智慧库房">
+                                                    <img src="${path}/tc_suite/home/images/word.png" alt="" style="width: 16px;height: 16px">
                                                 </div>
 
                                                 <div style="margin-left: 40px;cursor: pointer" id="openImModal" title="IM">
@@ -3783,15 +3783,20 @@
         };
         $.ajax({
             type: "post",
-            url: "http://47.105.108.132:9999/dockingLogin",
+            url: "http://47.105.108.132:9527/getToken",
             dataType: "json",
             data:{
-                username:"admin",
-                password: encrypt('123456')
+                appName : "admin",
+                secret : 'bfc62b3f67a4c3e57df84dad8cc48a3b'
             },
             success: function (data) {
                 if(data.code == 200){
-                    window.open('http://47.105.108.132:9998/home?token='+data.data);
+                    console.log({
+                        front:"前端页面:8088",
+                        api:"后台接口:9527",
+                        url:'http://47.105.108.132:8088/home?token='+data.data
+                    })
+                    window.open('http://47.105.108.132:8088/home?token='+data.data);
                 }
             },
         });