diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b44424a..717b0be 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -2,8 +2,14 @@
+
+
+
+
+
+
@@ -27,9 +33,10 @@
-
-
+
+
+
@@ -70,11 +77,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -93,6 +137,7 @@
@@ -106,6 +151,8 @@
+
+
@@ -139,18 +186,18 @@
-
+
-
+
-
+
@@ -159,6 +206,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -169,9 +275,15 @@
+
+
+
+
+
+
@@ -194,12 +306,20 @@
1709705326078
-
+
+
+
+ 1709706040716
+
+
+
+ 1709706040716
+
-
+
@@ -241,13 +361,14 @@
+
+
+
+
-
-
-
@@ -258,11 +379,22 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -302,17 +434,39 @@
-
+
+
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bcapi/pom.xml b/bcapi/pom.xml
index c6c09b0..ec4614c 100644
--- a/bcapi/pom.xml
+++ b/bcapi/pom.xml
@@ -4,12 +4,20 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
mis
- bc.mn
+ bc.mm
1.0.01
4.0.0
bcapi
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+ ${springboot.version}
+
+
+
\ No newline at end of file
diff --git a/bcapi/src/main/java/bc/mm/mis/api/BcApiApplication.java b/bcapi/src/main/java/bc/mm/mis/api/BcApiApplication.java
new file mode 100644
index 0000000..e2483da
--- /dev/null
+++ b/bcapi/src/main/java/bc/mm/mis/api/BcApiApplication.java
@@ -0,0 +1,14 @@
+package bc.mm.mis.api;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+/**
+ * api 端启用控制器
+ */
+@SpringBootApplication
+public class BcApiApplication {
+ public static void main(String[] args) {
+ SpringApplication.run(BcApiApplication.class, args);
+ }
+}
diff --git a/bcapi/src/main/java/bc/mm/mis/api/package-info.java b/bcapi/src/main/java/bc/mm/mis/api/package-info.java
new file mode 100644
index 0000000..3c6296b
--- /dev/null
+++ b/bcapi/src/main/java/bc/mm/mis/api/package-info.java
@@ -0,0 +1 @@
+package bc.mm.mis.api;
\ No newline at end of file
diff --git a/bcapi/src/main/resources/application.properties b/bcapi/src/main/resources/application.properties
new file mode 100644
index 0000000..8d0df6e
--- /dev/null
+++ b/bcapi/src/main/resources/application.properties
@@ -0,0 +1,27 @@
+# logback日志操作
+logging.config=classpath:logback-spring.xml
+logging.path=./logs/
+
+# 补充配置(这里具体可以参照Jakarta Mail的扩展配置)
+## 默认发送方邮箱账号(当程序未指定发件人邮箱则默认取这个)
+#spring.mail.properties.mail.smtp.from=antladdie@163.com
+## 开启权限认证
+spring.mail.properties.mail.smtp.auth=true
+## 邮件接收时间的限制
+spring.mail.properties.mail.smtp.timeout=60000
+## 连接时间的限制
+spring.mail.properties.mail.smtp.connectiontimeout=60000
+## 邮件发送时间的限制(毫秒)
+spring.mail.properties.mail.smtp.writetimeout=60000
+## 日志打印,邮件发送过程的日志会被输出
+spring.mail.properties.mail.debug=true
+
+# outlook 开启tls
+#spring.mail.username=xxxxxxx@outlook.com
+#spring.mail.password=xxxxxxxxx
+#spring.mail.port=587
+#spring.mail.host=smtp-mail.outlook.com
+# 设置ssl认证
+# spring.mail.properties.mail.smtp.ssl.enable=true
+# 设置TLS认证
+spring.mail.properties.mail.smtp.starttls.required=true
diff --git a/bcapi/src/main/resources/banner.txt b/bcapi/src/main/resources/banner.txt
new file mode 100644
index 0000000..4a03049
--- /dev/null
+++ b/bcapi/src/main/resources/banner.txt
@@ -0,0 +1,4 @@
+===== Welcome to BCMIS =====
+SPB. version:${spring-boot.version}
+BCMIS version 1.0.1
+============================
\ No newline at end of file
diff --git a/bcapi/src/main/resources/logback-spring.xml b/bcapi/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..ac3b809
--- /dev/null
+++ b/bcapi/src/main/resources/logback-spring.xml
@@ -0,0 +1,199 @@
+
+
+
+
+
+
+
+
+
+ logback
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ info
+
+
+ ${CONSOLE_LOG_PATTERN}
+
+ UTF-8
+
+
+
+
+
+
+
+
+
+ ${LOG_PATH}/log_debug.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+
+ ${LOG_PATH}/debug/log-debug-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ debug
+ ACCEPT
+ DENY
+
+
+
+
+
+
+ ${LOG_PATH}/log_info.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+
+ ${LOG_PATH}/info/log-info-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ info
+ ACCEPT
+ DENY
+
+
+
+
+
+
+ ${LOG_PATH}/log_warn.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+ ${LOG_PATH}/warn/log-warn-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ warn
+ ACCEPT
+ DENY
+
+
+
+
+
+
+
+ ${LOG_PATH}/log_error.log
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{50} - %msg%n
+ UTF-8
+
+
+
+ ${LOG_PATH}/error/log-error-%d{yyyy-MM-dd}.%i.log
+
+ 100MB
+
+
+ 15
+
+
+
+ ERROR
+ ACCEPT
+ DENY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bccommon/src/main/java/bc/mm/mis/common/AgentAdminMenus.java b/bccommon/src/main/java/bc/mm/mis/common/AgentAdminMenus.java
new file mode 100644
index 0000000..46606b2
--- /dev/null
+++ b/bccommon/src/main/java/bc/mm/mis/common/AgentAdminMenus.java
@@ -0,0 +1,90 @@
+package bc.mm.mis.common;
+
+import java.sql.Timestamp;
+
+/**
+ * 代理管理菜单
+ */
+public class AgentAdminMenus {
+ private Long id;
+ private Long parent_id; //parent_id
+ private String title;
+ private String icon;
+ private String uri;
+ private String extension;
+ private Integer show;
+ private Timestamp create_at;
+ private Timestamp update_at;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Long getParent_id() {
+ return parent_id;
+ }
+
+ public void setParent_id(Long parent_id) {
+ this.parent_id = parent_id;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getIcon() {
+ return icon;
+ }
+
+ public void setIcon(String icon) {
+ this.icon = icon;
+ }
+
+ public String getUri() {
+ return uri;
+ }
+
+ public void setUri(String uri) {
+ this.uri = uri;
+ }
+
+ public String getExtension() {
+ return extension;
+ }
+
+ public void setExtension(String extension) {
+ this.extension = extension;
+ }
+
+ public Integer getShow() {
+ return show;
+ }
+
+ public void setShow(Integer show) {
+ this.show = show;
+ }
+
+ public Timestamp getCreate_at() {
+ return create_at;
+ }
+
+ public void setCreate_at(Timestamp create_at) {
+ this.create_at = create_at;
+ }
+
+ public Timestamp getUpdate_at() {
+ return update_at;
+ }
+
+ public void setUpdate_at(Timestamp update_at) {
+ this.update_at = update_at;
+ }
+}
diff --git a/pom.xml b/pom.xml
index 87972dc..cf111d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- bc.mn
+ bc.mm
mis
pom
1.0.01
@@ -15,7 +15,7 @@
bccommon
- bc plat
+ bc platform