diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index acf4eb9..787eb21 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -1,7 +1,7 @@ server: port: 7012 - ip: 127.0.0.1 - url: http://${server.ip}:7011/usercenter + ip: 39.99.41.54 + url: http://${server.ip}:9199/usercenter system-title: 青海省数字经济发展 system-sub-title: 统一用户管理系统 default-index-page: route/custom/index @@ -21,23 +21,20 @@ spring: cache: false main: allow-bean-definition-overriding: true - mvc: - pathmatch: - matching-strategy: ant_path_matcher servlet: multipart: max-file-size: 1GB max-request-size: 1GB datasource: druid: - url: jdbc:mysql://192.168.0.103:3306/db_qhsz_usercenter?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true + url: jdbc:mysql://152.136.196.165:3306/qh_jcfw?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true db-type: mysql driver-class-name: com.mysql.cj.jdbc.Driver - username: root - password: root + username: qh_jcfw + password: FX1$wf$4 initial-size: 2 min-idle: 2 - max-active: 5 + max-active: 1000 max-wait: 60000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 @@ -67,7 +64,7 @@ swagger: base-package-list: ink.wgink,cn.com.tenlion file: - upload-path: C:\Users\wenc0\Desktop\UploadFiles\ + upload-path: /root/projects/usercenter/uploadFiles/ image-types: png,jpg,jpeg,gif,blob video-types: mp4,rmvb audio-types: mp3,wmv,amr @@ -87,10 +84,11 @@ app-token: logging: # enable-api-log: true file: - name: C:\Users\wenc0\Desktop\UploadFiles\logs\usercenter-logs.log + name: /root/projects/usercenter/logs/log.log level: root: error - org.apache.kafka: error - org.springframework.data.mongodb: info - org.springframework.boot.autoconfigure.security.servlet: debug ink.wgink: debug + +sms: + active: true + type: custom diff --git a/src/main/resources/mybatis/mapper/manual/manual-mapper.xml b/src/main/resources/mybatis/mapper/manual/manual-mapper.xml new file mode 100644 index 0000000..749ab60 --- /dev/null +++ b/src/main/resources/mybatis/mapper/manual/manual-mapper.xml @@ -0,0 +1,313 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INSERT INTO manual_manual( + manual_id, + manual_title, + manual_summary, + manual_file_id, + manual_type, + gmt_create, + creator, + gmt_modified, + modifier, + is_delete + ) VALUES( + #{manualId}, + #{manualTitle}, + #{manualSummary}, + #{manualFileId}, + #{manualType}, + #{gmtCreate}, + #{creator}, + #{gmtModified}, + #{modifier}, + #{isDelete} + ) + + + + + UPDATE + manual_manual + SET + gmt_modified = #{gmtModified}, + modifier = #{modifier}, + is_delete = 1 + WHERE + manual_id IN + + #{manualIds[${index}]} + + + + + + DELETE FROM + manual_manual + WHERE + manual_id IN + + #{manualIds[${index}]} + + + + + + UPDATE + manual_manual + SET + + manual_title = #{manualTitle}, + + + manual_summary = #{manualSummary}, + + + manual_file_id = #{manualFileId}, + + + manual_type = #{manualType}, + + gmt_modified = #{gmtModified}, + modifier = #{modifier}, + manual_id = manual_id + WHERE + manual_id = #{manualId} + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/manual/list.html b/src/main/resources/templates/manual/list.html new file mode 100644 index 0000000..6ccaa5a --- /dev/null +++ b/src/main/resources/templates/manual/list.html @@ -0,0 +1,258 @@ + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/src/main/resources/templates/manual/save.html b/src/main/resources/templates/manual/save.html new file mode 100644 index 0000000..a337cc7 --- /dev/null +++ b/src/main/resources/templates/manual/save.html @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ + +
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/manual/update.html b/src/main/resources/templates/manual/update.html new file mode 100644 index 0000000..928c860 --- /dev/null +++ b/src/main/resources/templates/manual/update.html @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + +
+
+
+ + +
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + + + + + \ No newline at end of file