diff --git a/README.md b/README.md index 92deca9..721a78b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # cpicxim-huixiabao -惠厦保相关项目 \ No newline at end of file +惠厦保相关项目。 + +莲富wifi,管理员账号admin,密码Cpic#1234。wifi ssid HXB,密码 CpicXimHXB#2025。 + +GigabitEthernet0/0/11 柜台右一 + +GigabitEthernet0/0/9 柜台右二 + diff --git a/code/cpicxim-XMNHSA-repeater/.vscode/fileheader.template.js b/code/cpicxim-XMNHSA-repeater/.vscode/fileheader.template.js new file mode 100644 index 0000000..aa2379f --- /dev/null +++ b/code/cpicxim-XMNHSA-repeater/.vscode/fileheader.template.js @@ -0,0 +1,87 @@ +/* + * @Author: Kane + * @Date: 2025-03-16 00:35:09 + * @LastEditors: Kane + * @FilePath: /cpicxim-huixiabao/.vscode/fileheader.template.js + * @Description: + * + * Copyright (c) ${2023} by Kane, All Rights Reserved. + */ +/** + * This file is generated by VSCode extension: Fileheader Pro + */ + +/** + * These comments can help you write your own template with type hint + * @typedef {Object} FileheaderVariable Fileheader variables + * @property {string} birthtime file birth time. will get it from VCS or fallback to filesystem when it is not available + * @property {string} mtime file modification time. will get it from VCS or fallback to filesystem when it is not available + * @property {string} authorName if the file is tracked by VCS, it will get the author name from VCS. else it will get it from current user name + * @property {string} authorEmail if the file is tracked by VCS, it will get the author email from VCS. else it will get it from current user email + * @property {string} userName else it will get it from current user name + * @property {string} userEmail user email is from VSCode config, and fallback to VCS config + * @property {string} companyName + * @property {string} projectName name of current project + * @property {string} filePath the file path, relative to project root with POSIX path separator + * @property {string} dirPath the directory path, relative to project root with POSIX path separator + * @property {string} fileName filename with extension + */ + + /** + * @typedef {string | number | null | undefined | Template | boolean} TemplateInterpolation NOTE: boolean or falsy value will render empty string + * + * @typedef {{ strings: TemplateStringsArray; interpolations: TemplateInterpolation[]; }} Template + * @typedef {(strings: TemplateStringsArray, ...values: any[]) => string} ITemplateFunction + * + */ + +/** + * Please confirm your provider extends from globalThis.FileheaderLanguageProvider + */ +class CustomLanguageProvider extends globalThis.FileheaderLanguageProvider { + /** + * @type {string[]} + */ + languages = [ + "java", + "javascript", + "typescript", + "javascriptreact", + "typescriptreact", + ]; + + /** + * @type {string=} the language block comment start string. + * this is for future feature: support detect old custom template when custom template changes + */ + blockCommentStart = "/**"; + + /** + * @type {string=} + */ + blockCommentEnd = "*/"; + + /** + * get your template when document language matched + * @param {ITemplateFunction} tpl template function, it is a tagged function, support nested interpolation + * @param {FileheaderVariable} variables template variables + * @returns {Template} + */ + getTemplate(tpl, variables) { + // prettier-ignore + return tpl +`/** + * @Author: ${variables.authorName} <${variables.authorEmail}> + * @Date: ${variables.birthtime} + * @LastEditors: ${variables.userName} + * @LastModified: ${variables.mtime} + * @FilePath: ${variables.filePath} + * @Description: + * + * Copyright (c) ${2025} by Kane All rights reserved + */`; + } +} + +// export your provider classes +module.exports = [CustomLanguageProvider]; diff --git a/code/cpicxim-XMNHSA-repeater/src/main/java/com/cpic/xim/huixiabao/data/config/HuixiabaoConfig.java b/code/cpicxim-XMNHSA-repeater/src/main/java/com/cpic/xim/huixiabao/data/config/HuixiabaoConfig.java index ac6f160..562fdc8 100644 --- a/code/cpicxim-XMNHSA-repeater/src/main/java/com/cpic/xim/huixiabao/data/config/HuixiabaoConfig.java +++ b/code/cpicxim-XMNHSA-repeater/src/main/java/com/cpic/xim/huixiabao/data/config/HuixiabaoConfig.java @@ -1,15 +1,12 @@ -/* - * @Author: Kane +/** + * @Author: Kane Wang + * @Date: 2025-03-11 15:08:37 + * @LastEditors: Kane Wang + * @LastModified: 2025-04-18 00:52:16 + * @FilePath: src/main/java/com/cpic/xim/huixiabao/data/config/HuixiabaoConfig.java + * @Description: * - * @Date: 2025-03-11 09:30:38 - * - * @LastEditors: Kane - * - * @FilePath: /cpicxim-XMNHSA-repeater/src/main/java/com/cpic/xim/huixiabao/data/config/HuixiabaoConfig.java - * - * @Description: 存放惠厦保相关的配置文件,以后要改成json文件存放。 - * - * Copyright (c) ${2023} by Kane, All Rights Reserved. + * Copyright (c) 2025 by Kane All rights reserved */ package com.cpic.xim.huixiabao.data.config; diff --git a/code/cpicxim-huixiabao/.idea/.gitignore b/code/cpicxim-huixiabao/.idea/.gitignore new file mode 100644 index 0000000..359bb53 --- /dev/null +++ b/code/cpicxim-huixiabao/.idea/.gitignore @@ -0,0 +1,3 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml diff --git a/code/cpicxim-huixiabao/.idea/compiler.xml b/code/cpicxim-huixiabao/.idea/compiler.xml new file mode 100644 index 0000000..a3c1117 --- /dev/null +++ b/code/cpicxim-huixiabao/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/code/cpicxim-huixiabao/.idea/encodings.xml b/code/cpicxim-huixiabao/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/code/cpicxim-huixiabao/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/code/cpicxim-huixiabao/.idea/jarRepositories.xml b/code/cpicxim-huixiabao/.idea/jarRepositories.xml new file mode 100644 index 0000000..abb532a --- /dev/null +++ b/code/cpicxim-huixiabao/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/code/cpicxim-huixiabao/.idea/misc.xml b/code/cpicxim-huixiabao/.idea/misc.xml new file mode 100644 index 0000000..e629cf4 --- /dev/null +++ b/code/cpicxim-huixiabao/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/code/cpicxim-huixiabao/.idea/vcs.xml b/code/cpicxim-huixiabao/.idea/vcs.xml new file mode 100644 index 0000000..b2bdec2 --- /dev/null +++ b/code/cpicxim-huixiabao/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/code/cpicxim-huixiabao/src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverRequestBody.java b/code/cpicxim-huixiabao/src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverRequestBody.java index f678620..c363c2d 100644 --- a/code/cpicxim-huixiabao/src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverRequestBody.java +++ b/code/cpicxim-huixiabao/src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverRequestBody.java @@ -1,20 +1,19 @@ /** -* @Author: Kane -* @Date: 2025-03-15 21:01:56 -* @LastEditors: Kane -* @FilePath: /cpicxim-huixiabao/src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverRequestBody.java -* @Description: -* @ -* @Copyright (c) ${2023} by Kane, All Rights Reserved. + * @Author: Kane Wang + * @Date: 2025-03-15 18:40:54 + * @LastEditors: Kane Wang + * @LastModified: 2025-03-17 07:21:58 + * @FilePath: src/main/java/com/cpic/xim/huixiabao/web/controllers/MediCover/MediCoverRequestBody.java + * @Description: + * + * Copyright (c) 2025 by Kane All rights reserved */ - package com.cpic.xim.huixiabao.web.controllers.MediCover; import com.fasterxml.jackson.annotation.JsonProperty; public class MediCoverRequestBody { - @JsonProperty( "transId" ) private String transId; @@ -45,7 +44,9 @@ public class MediCoverRequestBody this.timestamp = timestamp; } - public MediCoverRequestBody() {} + public MediCoverRequestBody() + { + } public String getTransId() {