| | |
| | | <Container> |
| | | <Property name="className">c-param</Property> |
| | | <AutoForm id="form1"> |
| | | <Property name="cols">*,*,*,*,90,90,110</Property> |
| | | <Property name="cols">*,*,*,*,90,90,140</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelAlign">right</Property> |
| | |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="caption">导åºEXCEL</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="width">140</Property> |
| | | <Property name="iconClass">fa fa-file-excel-o</Property> |
| | | </Button> |
| | | </AutoForm> |
| | | <AutoForm id="form2"> |
| | | <Property name="cols">*,*,*,*,90,90,110</Property> |
| | | <Property name="cols">*,*,*,*,90,90,140</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="labelSeparator">ï¼</Property> |
| | | <Property name="labelAlign">right</Property> |
| | |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="caption">导åºEXCEL</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="width">140</Property> |
| | | <Property name="iconClass">fa fa-file-excel-o</Property> |
| | | </Button> |
| | | </AutoForm> |
| | |
| | | <Container> |
| | | <Property name="className">c-param</Property> |
| | | <AutoForm id="form1" layoutConstraint="top"> |
| | | <Property name="cols">*,*,*,*,90,90,110</Property> |
| | | <Property name="cols">*,*,*,*,90,90,140</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Property name="labelWidth">110</Property> |
| | |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="caption">导åºEXCEL</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="width">140</Property> |
| | | <Property name="iconClass">fa fa-file-excel-o</Property> |
| | | </Button> |
| | | </AutoForm> |
| | | <AutoForm id="form2" layoutConstraint="top"> |
| | | <Property name="cols">*,*,*,*,90,90,110</Property> |
| | | <Property name="cols">*,*,*,*,90,90,140</Property> |
| | | <Property name="dataSet">dsQuery</Property> |
| | | <Property name="exClassName">bg-color</Property> |
| | | <Property name="labelWidth">110</Property> |
| | |
| | | </Button> |
| | | <Button layoutConstraint="left"> |
| | | <Property name="caption">导åºEXCEL</Property> |
| | | <Property name="exClassName">btn4</Property> |
| | | <Property name="exClassName">btn-q2</Property> |
| | | <Property name="width">140</Property> |
| | | <Property name="iconClass">fa fa-file-excel-o</Property> |
| | | </Button> |
| | | </AutoForm> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | # -----------------æ°çä¼ç--------------windowsç产ç¯å¢ |
| | | server: |
| | | port: 8888 |
| | | servlet: |
| | | context-path: |
| | | encoding: |
| | | charset: UTF-8 |
| | | enabled: true |
| | | force: true |
| | | # æ°æ®æºé
ç½® |
| | | spring: |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | druid: |
| | | # ä¸»åºæ°æ®æº |
| | | master: |
| | | url: jdbc:mysql://127.0.0.1:3306/igdss_master?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: Fzzy@#$%5432..K |
| | | # ä»åºæ°æ®æº |
| | | slave: |
| | | # 仿°æ®æºå¼å
³/é»è®¤å
³é |
| | | enabled: false |
| | | url: |
| | | username: |
| | | password: |
| | | # åå§è¿æ¥æ° |
| | | initialSize: 5 |
| | | # æå°è¿æ¥æ± æ°é |
| | | minIdle: 10 |
| | | # æå¤§è¿æ¥æ± æ°é |
| | | maxActive: 20 |
| | | # é
ç½®è·åè¿æ¥çå¾
è¶
æ¶çæ¶é´ |
| | | maxWait: 60000 |
| | | # é
ç½®è¿æ¥è¶
æ¶æ¶é´ |
| | | connectTimeout: 30000 |
| | | # é
ç½®ç½ç»è¶
æ¶æ¶é´ |
| | | socketTimeout: 60000 |
| | | # é
ç½®é´éå¤ä¹
æè¿è¡ä¸æ¬¡æ£æµï¼æ£æµéè¦å
³éç空é²è¿æ¥ï¼å使¯æ¯«ç§ |
| | | timeBetweenEvictionRunsMillis: 60000 |
| | | # é
ç½®ä¸ä¸ªè¿æ¥å¨æ± 䏿å°çåçæ¶é´ï¼å使¯æ¯«ç§ |
| | | minEvictableIdleTimeMillis: 300000 |
| | | # é
ç½®ä¸ä¸ªè¿æ¥å¨æ± 䏿大çåçæ¶é´ï¼å使¯æ¯«ç§ |
| | | maxEvictableIdleTimeMillis: 900000 |
| | | # é
ç½®æ£æµè¿æ¥æ¯å¦ææ |
| | | validationQuery: SELECT 1 FROM DUAL |
| | | testWhileIdle: true |
| | | testOnBorrow: false |
| | | testOnReturn: false |
| | | webStatFilter: |
| | | enabled: true |
| | | statViewServlet: |
| | | enabled: true |
| | | # 设置ç½ååï¼ä¸å¡«åå
许ææè®¿é® |
| | | allow: |
| | | url-pattern: /druid/* |
| | | # æ§å¶å°ç®¡çç¨æ·ååå¯ç |
| | | login-username: admin |
| | | login-password: fzzy123456 |
| | | filter: |
| | | stat: |
| | | enabled: true |
| | | # æ
¢SQLè®°å½ |
| | | log-slow-sql: true |
| | | slow-sql-millis: 1000 |
| | | merge-sql: true |
| | | wall: |
| | | config: |
| | | multi-statement-allow: true |
| | | |
| | | # Redisç¸å
³é
ç½® |
| | | redis: |
| | | database: 0 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: Redispwd.. |
| | | timeout: 1000 |
| | | pool: |
| | | max-active: 200 |
| | | max-wait: -1 |
| | | max-idle: 10 |
| | | min-idle: 0 |
| | | |
| | | #JPAé
ç½® |
| | | jpa: |
| | | database: mysql |
| | | show-sql: true |
| | | generate-ddl: false |
| | | database-platform: org.hibernate.dialect.MySQL5InnoDBDialect |
| | | hibernate: |
| | | ddl-auto: update |
| | | properties: |
| | | hibernate: |
| | | jdbc: |
| | | batch_size: 500 |
| | | batch_versioned_data: true |
| | | |
| | | #ç³»ç»æ¶æé
ç½® |
| | | framework: |
| | | companyId: "5372" |
| | | doradoMode: debug |
| | | # åç§° |
| | | name: æºæ
§ç²®åºçç®¡ç³»ç» |
| | | # çæ¬ |
| | | version: 2.0.0 |
| | | # çæå¹´ä»½ |
| | | copyrightYear: 2026 |
| | | # å®ä¾æ¼ç¤ºå¼å
³ |
| | | demoEnabled: false |
| | | # æä»¶è·¯å¾ 示ä¾ï¼ Windowsé
ç½®D:/ruoyi/uploadPathï¼Linuxé
ç½® /home/ruoyi/uploadPathï¼ |
| | | profile: E:/IGDSS/FILE/ |
| | | # è·åipå°åå¼å
³ |
| | | addressEnabled: false |
| | | support: 飿£è´è¿ä¿¡æ¯ææ¯è¡ä»½æéå
¬å¸ |
| | | email: business@fzzygf.com |
| | | phone: 400-627-1116 |
| | | website: http://www.fzzygf.com |
| | | address: éå·å¸é«æ°åºé¿æ¤¿è·¯11å·æ²³åçå½å®¶å¤§å¦ç§æååµå1å·æ¥¼ |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | # -----------------æ°çä¼ç--------------windowsç产ç¯å¢ |
| | | server: |
| | | port: 8888 |
| | | servlet: |
| | | context-path: |
| | | encoding: |
| | | charset: UTF-8 |
| | | enabled: true |
| | | force: true |
| | | # æ°æ®æºé
ç½® |
| | | spring: |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | druid: |
| | | # ä¸»åºæ°æ®æº |
| | | master: |
| | | url: jdbc:mysql://127.0.0.1:3306/igdss_master?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: Fzzy@#$%5432..K |
| | | # ä»åºæ°æ®æº |
| | | slave: |
| | | # 仿°æ®æºå¼å
³/é»è®¤å
³é |
| | | enabled: false |
| | | url: |
| | | username: |
| | | password: |
| | | # åå§è¿æ¥æ° |
| | | initialSize: 5 |
| | | # æå°è¿æ¥æ± æ°é |
| | | minIdle: 10 |
| | | # æå¤§è¿æ¥æ± æ°é |
| | | maxActive: 20 |
| | | # é
ç½®è·åè¿æ¥çå¾
è¶
æ¶çæ¶é´ |
| | | maxWait: 60000 |
| | | # é
ç½®è¿æ¥è¶
æ¶æ¶é´ |
| | | connectTimeout: 30000 |
| | | # é
ç½®ç½ç»è¶
æ¶æ¶é´ |
| | | socketTimeout: 60000 |
| | | # é
ç½®é´éå¤ä¹
æè¿è¡ä¸æ¬¡æ£æµï¼æ£æµéè¦å
³éç空é²è¿æ¥ï¼å使¯æ¯«ç§ |
| | | timeBetweenEvictionRunsMillis: 60000 |
| | | # é
ç½®ä¸ä¸ªè¿æ¥å¨æ± 䏿å°çåçæ¶é´ï¼å使¯æ¯«ç§ |
| | | minEvictableIdleTimeMillis: 300000 |
| | | # é
ç½®ä¸ä¸ªè¿æ¥å¨æ± 䏿大çåçæ¶é´ï¼å使¯æ¯«ç§ |
| | | maxEvictableIdleTimeMillis: 900000 |
| | | # é
ç½®æ£æµè¿æ¥æ¯å¦ææ |
| | | validationQuery: SELECT 1 FROM DUAL |
| | | testWhileIdle: true |
| | | testOnBorrow: false |
| | | testOnReturn: false |
| | | webStatFilter: |
| | | enabled: true |
| | | statViewServlet: |
| | | enabled: true |
| | | # 设置ç½ååï¼ä¸å¡«åå
许ææè®¿é® |
| | | allow: |
| | | url-pattern: /druid/* |
| | | # æ§å¶å°ç®¡çç¨æ·ååå¯ç |
| | | login-username: admin |
| | | login-password: fzzy123456 |
| | | filter: |
| | | stat: |
| | | enabled: true |
| | | # æ
¢SQLè®°å½ |
| | | log-slow-sql: true |
| | | slow-sql-millis: 1000 |
| | | merge-sql: true |
| | | wall: |
| | | config: |
| | | multi-statement-allow: true |
| | | |
| | | # Redisç¸å
³é
ç½® |
| | | redis: |
| | | database: 0 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: Redispwd.. |
| | | timeout: 1000 |
| | | pool: |
| | | max-active: 200 |
| | | max-wait: -1 |
| | | max-idle: 10 |
| | | min-idle: 0 |
| | | |
| | | #JPAé
ç½® |
| | | jpa: |
| | | database: mysql |
| | | show-sql: true |
| | | generate-ddl: false |
| | | database-platform: org.hibernate.dialect.MySQL5InnoDBDialect |
| | | hibernate: |
| | | ddl-auto: update |
| | | properties: |
| | | hibernate: |
| | | jdbc: |
| | | batch_size: 500 |
| | | batch_versioned_data: true |
| | | |
| | | #ç³»ç»æ¶æé
ç½® |
| | | framework: |
| | | companyId: "5372" |
| | | doradoMode: debug |
| | | # åç§° |
| | | name: æºæ
§ç²®åºçç®¡ç³»ç» |
| | | # çæ¬ |
| | | version: 2.0.0 |
| | | # çæå¹´ä»½ |
| | | copyrightYear: 2026 |
| | | # å®ä¾æ¼ç¤ºå¼å
³ |
| | | demoEnabled: false |
| | | # æä»¶è·¯å¾ 示ä¾ï¼ Windowsé
ç½®D:/ruoyi/uploadPathï¼Linuxé
ç½® /home/ruoyi/uploadPathï¼ |
| | | profile: E:/IGDSS/FILE/ |
| | | # è·åipå°åå¼å
³ |
| | | addressEnabled: false |
| | | support: 飿£è´è¿ä¿¡æ¯ææ¯è¡ä»½æéå
¬å¸ |
| | | email: business@fzzygf.com |
| | | phone: 400-627-1116 |
| | | website: http://www.fzzygf.com |
| | | address: éå·å¸é«æ°åºé¿æ¤¿è·¯11å·æ²³åçå½å®¶å¤§å¦ç§æååµå1å·æ¥¼ |
| | |
| | | <!-- 项ç®é¡¹ç® --> |
| | | <property name="app.name" value="igdss"/> |
| | | <!-- æä»¶è·¯å¾ --> |
| | | <property name="log.path" value="D:/app/igdss/logs"/> |
| | | <property name="log.path" value="C:/app/igdss/logs"/> |
| | | |
| | | |
| | | <!-- å½©è²æ¥å¿æä»¶ --> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh-cn" xmlns:th=http://www.thymeleaf.org> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| | | <title>æºè½ç²®åºç®¡çç³»ç»-å¼å¸¸è¯´æ</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <link rel="stylesheet" th:href="@{/ajax/libs/layui-ruoyi/css/layui.css}"/> |
| | | </head> |
| | | <body> |
| | | |
| | | <div style="margin: 20px; text-align: center;"> |
| | | |
| | | <img th:src="${qrCodeString}" src="../static/images/big-icon-sys.png" /> |
| | | |
| | | <h1 style="margin-top: -10px">æ±æï¼ç³»ç»æªæææè
ææå°æï¼è¯·è系管çåéæ°ææ</h1> |
| | | <h5 style="margin-top: 50px; font-weight:700">ææKEYï¼<b th:text="${checkLicInfo}"></b></h5> |
| | | <div style="width: 100%;text-align: center;"> |
| | | <center> |
| | | <div style="width: 800px;padding-top:20px;align-self: center; "> |
| | | <form class="layui-form" lay-filter="form1" action=""> |
| | | <div class="layui-form-item layui-form-text" style="margin-left: -100px"> |
| | | <label class="layui-form-label">ææç :</label> |
| | | <div class="layui-input-block"> |
| | | <textarea name="authStr" placeholder="请è¾å
¥ææç ï¼ç¹å»ç«å³æäº¤ï¼æææååä¼è¿åä¸ä¸é¡µé¢" class="layui-textarea"></textarea> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-input-block" style="width: 50%; float: left; margin-left: unset"> |
| | | <button class="layui-btn layui-btn-normal" style="float: right; margin-right: 50px" onclick="getLicense()">è·åææ</button> |
| | | </div> |
| | | <div class="layui-input-block" style="width: 50%; float: right; margin-left: unset"> |
| | | <button class="layui-btn" style="float: left; margin-left: 50px" onclick="submitLicense()">ç«å³æäº¤</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </center> |
| | | </div> |
| | | </div> |
| | | |
| | | </body> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/ajax/libs/layui-ruoyi/layui.js}"></script> |
| | | <script th:inline="javascript"> |
| | | //ç³»ç»ç»é人 |
| | | var loginUser = [[${loginUser}]]; |
| | | var companyId = [[${loginUser.companyId}]]; |
| | | </script> |
| | | <script> |
| | | var layer; |
| | | var form; |
| | | $(function () { |
| | | layui.use(['layer','form'], function () { |
| | | layer = layui.layer; |
| | | form = layui.form; |
| | | }); |
| | | }); |
| | | |
| | | //è·åææç |
| | | function getLicense() { |
| | | var ii = layer.load(0, {shade: false}) |
| | | $.ajax({ |
| | | type: 'POST', |
| | | url: "getLicense", |
| | | dataType: 'JSON', |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify({"companyId":companyId}), |
| | | success: function (result) { |
| | | layer.close(ii); |
| | | layer.alert(result.msg); |
| | | if(result.code == "0000"){ |
| | | window.history.back() |
| | | } |
| | | }, |
| | | error: function (result) { |
| | | layer.close(ii); |
| | | layer.alert(result.msg); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | //æäº¤ææç |
| | | function submitLicense() { |
| | | var data1 = form.val("form1"); |
| | | if(!data1.authStr){ |
| | | layer.alert("请è¾å
¥ææç ï¼"); |
| | | return; |
| | | } |
| | | var d = {"key":data1.authStr,"companyId":companyId}; |
| | | $.ajax({ |
| | | type: 'POST', |
| | | url: "authorize", |
| | | dataType: 'JSON', |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify(d), |
| | | success: function (result) { |
| | | layer.alert(result.msg); |
| | | if(result.code == "0000"){ |
| | | window.history.back() |
| | | } |
| | | }, |
| | | error: function (result) { |
| | | layer.alert(result.msg); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | </script> |
| | | </html> |