开发第一阶段完毕
This commit is contained in:
parent
5b600fec81
commit
48062bccc8
4
Dockerfile
Normal file
4
Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM openjdk:17-jdk-alpine
|
||||
ADD ./target/QQ-Bot-0.0.1-SNAPSHOT.jar /app/qq-bot.jar
|
||||
CMD ["java", "-jar", "app/qq-bot.jar"]
|
||||
EXPOSE 8080
|
||||
37
pom.xml
37
pom.xml
@ -9,13 +9,14 @@
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<groupId>com.mtz</groupId>
|
||||
<artifactId>QQ-Bot</artifactId>
|
||||
<artifactId>qq-bot</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>QQ-Bot</name>
|
||||
<description>QQ-Bot</description>
|
||||
<name>qq-bot</name>
|
||||
<description>qq-bot</description>
|
||||
<properties>
|
||||
<java.version>17</java.version>
|
||||
<spring-boot.version>2.6.13</spring-boot.version>
|
||||
<docker.image.prefix>localhost:5000</docker.image.prefix>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@ -70,7 +71,7 @@
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring-boot.version}</version>
|
||||
<configuration>
|
||||
<mainClass>com.example.demo.Demo1Application</mainClass>
|
||||
<mainClass>com.mtz.qqbot.QqBotApplication</mainClass>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
@ -82,6 +83,34 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!--maven打包时跳过测试-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!--自动构建镜像到Docker-->
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
<artifactId>dockerfile-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<repository>${docker.image.prefix}/${project.artifactId}</repository>
|
||||
<tag>${project.version}</tag>
|
||||
<useMavenSettingsForAuth>false</useMavenSettingsForAuth>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>build</goal>
|
||||
<goal>push</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
BIN
robot-data/cache/account.secrets
vendored
BIN
robot-data/cache/account.secrets
vendored
Binary file not shown.
25
robot-data/cache/contacts/groups/518909220.json
vendored
25
robot-data/cache/contacts/groups/518909220.json
vendored
@ -1,5 +1,5 @@
|
||||
{
|
||||
"troopMemberNumSeq": 124,
|
||||
"troopMemberNumSeq": 125,
|
||||
"list": [
|
||||
{
|
||||
"uin": 524592968,
|
||||
@ -25,10 +25,10 @@
|
||||
"remark": "神明啊把我变成小萝莉吧お願い",
|
||||
"nameCard": "",
|
||||
"specialTitle": "",
|
||||
"muteTimestamp": 1719299907,
|
||||
"muteTimestamp": 1719319720,
|
||||
"anonymousId": null,
|
||||
"joinTimestamp": 1505138309,
|
||||
"lastSpeakTimestamp": 1719304649,
|
||||
"lastSpeakTimestamp": 1719319660,
|
||||
"isOfficialBot": false,
|
||||
"rank": 2,
|
||||
"point": 5,
|
||||
@ -64,7 +64,7 @@
|
||||
"muteTimestamp": 0,
|
||||
"anonymousId": null,
|
||||
"joinTimestamp": 1524301027,
|
||||
"lastSpeakTimestamp": 1719299835,
|
||||
"lastSpeakTimestamp": 1719319552,
|
||||
"isOfficialBot": false,
|
||||
"rank": 1,
|
||||
"point": 0,
|
||||
@ -87,23 +87,6 @@
|
||||
"point": 0,
|
||||
"honors": [],
|
||||
"temperature": 6
|
||||
},
|
||||
{
|
||||
"uin": 3112576970,
|
||||
"nick": "-",
|
||||
"permission": "MEMBER",
|
||||
"remark": "-",
|
||||
"nameCard": "",
|
||||
"specialTitle": "",
|
||||
"muteTimestamp": 0,
|
||||
"anonymousId": null,
|
||||
"joinTimestamp": 1719319470,
|
||||
"lastSpeakTimestamp": 1719319470,
|
||||
"isOfficialBot": false,
|
||||
"rank": 1,
|
||||
"point": 0,
|
||||
"honors": [],
|
||||
"temperature": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
46
robot-data/cache/servers.json
vendored
46
robot-data/cache/servers.json
vendored
@ -1,42 +1,42 @@
|
||||
[
|
||||
{
|
||||
"host": "39.156.140.102",
|
||||
"host": "111.30.187.201",
|
||||
"port": 80
|
||||
},
|
||||
{
|
||||
"host": "36.155.163.51",
|
||||
"port": 8080
|
||||
},
|
||||
{
|
||||
"host": "120.232.31.250",
|
||||
"host": "111.30.169.83",
|
||||
"port": 14000
|
||||
},
|
||||
{
|
||||
"host": "39.156.140.250",
|
||||
"port": 443
|
||||
},
|
||||
{
|
||||
"host": "39.156.125.20",
|
||||
"port": 443
|
||||
},
|
||||
{
|
||||
"host": "111.30.187.245",
|
||||
"port": 14000
|
||||
},
|
||||
{
|
||||
"host": "msfwifi.3g.qq.com",
|
||||
"port": 8080
|
||||
},
|
||||
{
|
||||
"host": "36.155.163.66",
|
||||
"port": 80
|
||||
},
|
||||
{
|
||||
"host": "120.233.18.186",
|
||||
"host": "36.155.187.225",
|
||||
"port": 8080
|
||||
},
|
||||
{
|
||||
"host": "120.233.18.186",
|
||||
"port": 14000
|
||||
},
|
||||
{
|
||||
"host": "36.155.205.230",
|
||||
"port": 8080
|
||||
},
|
||||
{
|
||||
"host": "111.30.187.201",
|
||||
"port": 443
|
||||
},
|
||||
{
|
||||
"host": "39.156.126.229",
|
||||
"port": 443
|
||||
},
|
||||
{
|
||||
"host": "msfwifi.3g.qq.com",
|
||||
"port": 8080
|
||||
},
|
||||
{
|
||||
"host": "120.233.17.156",
|
||||
"port": 8080
|
||||
}
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user