diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a177010
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/.idea/
+/ic.iml
diff --git a/README.md b/README.md
index 9e24103..e2bda9d 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,3 @@
# kiisoo-ic
-门店拓客管理系统
\ No newline at end of file
+###### 门店拓客管理系统
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..3139376
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,255 @@
+
+
+ 4.0.0
+
+ org.example
+ ic
+ 1.0-SNAPSHOT
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.1.6.RELEASE
+
+
+
+
+
+ UTF-8
+ UTF-8
+ 1.8
+
+
+
+
+ org.projectlombok
+ lombok
+
+
+
+ org.springframework.boot
+ spring-boot-starter
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ provided
+
+
+
+ org.apache.commons
+ commons-lang3
+ 3.6
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web-services
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.45
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ 3.2.0
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 2.1.0
+
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.31
+
+
+
+ com.google.code.gson
+ gson
+ 2.8.5
+
+
+
+ org.springframework.boot
+ spring-boot-starter-aop
+
+
+
+
+ org.apache.httpcomponents
+ httpclient
+ 4.3.1
+
+
+
+
+ commons-beanutils
+ commons-beanutils
+ 1.9.4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+
+
+
+ org.slf4j
+ slf4j-log4j12
+
+
+
+
+
+ net.jodah
+ expiringmap
+ 0.5.9
+
+
+ com.lmax
+ disruptor
+ 3.4.2
+
+
+
+ commons-codec
+ commons-codec
+ 1.9
+
+
+ com.squareup.okhttp3
+ okhttp
+ 3.4.1
+
+
+ com.google.code.gson
+ gson
+ 2.8.6
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+ maven-resources-plugin
+
+
+ $
+
+ false
+
+
+
+ kiisoo-ic
+
+
+
+ src/main/java
+
+ **/*.properties
+ **/*.xml
+
+ true
+
+
+ src/main/resources
+ true
+
+ application-${profiles.active}.yml
+ application.yml
+ **/*.xml
+ **/*.txt
+ **/*.properties
+ META-INF/**
+
+
+
+
+ src/main/resources
+ false
+
+ static/**
+ page/**
+
+
+
+
+
+
+
+ dev
+
+ dev
+
+
+ true
+
+
+
+ stg
+
+ stg
+
+
+
+ pro
+
+ prod
+
+
+
+ test
+
+ test
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/kiisoo/ic/app/IcApplication.java b/src/main/java/com/kiisoo/ic/app/IcApplication.java
new file mode 100644
index 0000000..326e5ef
--- /dev/null
+++ b/src/main/java/com/kiisoo/ic/app/IcApplication.java
@@ -0,0 +1,37 @@
+package com.kiisoo.ic.app;
+
+import lombok.extern.slf4j.Slf4j;
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
+import org.springframework.boot.builder.SpringApplicationBuilder;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
+import org.springframework.context.annotation.ComponentScan;
+import org.springframework.scheduling.annotation.EnableScheduling;
+
+
+@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
+@ComponentScan("com.kiisoo.ic")
+@EnableScheduling
+@MapperScan({"com.kiisoo.ic.*.*.mapper,com.kiisoo.ic.*.mapper"})
+@Slf4j
+public class IcApplication extends SpringBootServletInitializer {
+
+ /**
+ * 实现SpringBootServletInitializer
+ */
+ @Override
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
+ builder.sources(this.getClass());
+ return super.configure(builder);
+ }
+
+ public static void main(String[] args) {
+ SpringApplication.run(IcApplication.class, args);
+ log.info("\n----------------------------------------------------------------------------------------------\n"
+ + "-------------------------------------------启动完毕--------------------------------------------\n"
+ + "-----------------------------------------------------------------------------------------------");
+ }
+
+}
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
new file mode 100644
index 0000000..debbcc3
--- /dev/null
+++ b/src/main/resources/application-dev.yml
@@ -0,0 +1,25 @@
+
+logging:
+ level:
+ root: info
+
+mybatis:
+ mapperLocations: classpath:mapper/*.xml
+
+spring:
+ datasource:
+ url: jdbc:mysql://192.168.0.215:3306/p2p?characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true
+ username: p2p
+ password: p2p
+ driver-class-name: com.mysql.jdbc.Driver
+
+qywx:
+ corpid: wwc8b3e81998fe5394
+ corpsecret: scb9m8DEtSwJpB_ZFXg4J9WE91yH-WNBBQ4Vxv1NYy4
+ applicationid: 1000037
+
+##开发环境
+server:
+ port: 8080
+ servlet:
+ context-path: /kiisoo-ic
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
new file mode 100644
index 0000000..dbd0cdd
--- /dev/null
+++ b/src/main/resources/application-prod.yml
@@ -0,0 +1,13 @@
+mybatis:
+ mapperLocations: classpath:mapper/*.xml
+
+logging:
+ level:
+ root: info
+
+spring:
+ datasource:
+ url: jdbc:mysql://10.173.32.71:3306/p2p?characterEncoding=utf8&allowMultiQueries=true
+ username: kiisoo
+ password: QS_db_123
+ driver-class-name: com.mysql.jdbc.Driver
diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml
new file mode 100644
index 0000000..1624028
--- /dev/null
+++ b/src/main/resources/application-test.yml
@@ -0,0 +1,25 @@
+
+logging:
+ level:
+ root: info
+
+mybatis:
+ mapperLocations: classpath:mapper/*.xml
+
+spring:
+ datasource:
+ url: jdbc:mysql://192.168.0.215:3306/p2p?characterEncoding=utf8&allowMultiQueries=true&autoReconnect=true
+ username: p2p
+ password: p2p
+ driver-class-name: com.mysql.jdbc.Driver
+
+##开发环境
+server:
+ port: 8080
+ servlet:
+ context-path: /kiisoo-ic
+
+qywx:
+ corpid: wwc8b3e81998fe5394
+ corpsecret: scb9m8DEtSwJpB_ZFXg4J9WE91yH-WNBBQ4Vxv1NYy4
+ applicationid: 1000037
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
new file mode 100644
index 0000000..5c60858
--- /dev/null
+++ b/src/main/resources/application.yml
@@ -0,0 +1,16 @@
+
+#mybatis:
+# mapperLocations: classpath*:mapper/*.xml
+ #扫描别名,一定要与@Alias注解连用
+ #type-aliases-package: com.kiisoo.open
+ #开启驼峰映射
+ #configuration:
+ #map-underscore-to-camel-case: true
+
+spring:
+ profiles:
+ active: $profiles.active$
+ mvc:
+ view:
+ prefix: /
+ suffix: .html
\ No newline at end of file
diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..518ed7b
--- /dev/null
+++ b/src/main/resources/logback-spring.xml
@@ -0,0 +1,115 @@
+
+
+
+ kiisoo-mcc
+
+
+
+
+
+
+
+
+
+
+
+ %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n
+
+
+
+
+
+
+
+
+ INFO
+
+ ACCEPT
+
+ DENY
+
+
+
+
+ ${log_dir}/info/%d{yyyy-MM-dd}/info-log.log
+
+
+ ${max_history}
+
+
+
+
+
+ UTF-8
+ %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n
+
+
+
+
+
+
+
+ DEBUG
+
+ ACCEPT
+
+ DENY
+
+
+
+
+
+ ${log_dir}/debug/%d{yyyy-MM-dd}/debug-log.log
+
+
+ ${max_history}
+
+
+
+
+
+ UTF-8
+ %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n
+
+
+
+
+
+
+ ERROR
+
+
+
+
+
+
+ ${log_dir}/error/%d{yyyy-MM-dd}/error-log.log
+
+
+ ${max_history}
+
+
+
+
+
+ UTF-8
+ %d{yyyy-MM-dd HH:mm:ss.SSS} %-5level %logger - %msg%n
+
+
+
+
+
+
+
+
+
+
+
+
+