@@ -7,20 +7,13 @@
- [x] 自动旅行
- [x] 每日首次旅行分享
- [x] 领取申购耐力值
+- [x] github action 支持
+- [x] 青龙面板支持
-### 安装
+### 本地启动
```shell
npm i -g pm2
-git clone git@github.com:mrabit/xmtravel.git
-cd xmtravel
-npm install
-```
-
-### 启动
-```shell
-cp config.example.js config.js
# 脚本启动
pm2 start script.json
# 日志查看
@@ -29,6 +22,12 @@ pm2 logs xmtravel --out --lines=100

+### 青龙面板
+
+```shell
+ql repo https://github.com/mrabit/xmtravel.git "" "index|api|console|config" "api|console|config"
+```
### 申明
- 本项目仅做学习交流, 禁止用于各种非法途径
@@ -1,7 +1,3 @@
-/*
-cron "0-59/20 9-20 * * *" indexAction.js, tag=小茅运旅行
-*/
-const $ = new Env('小茅运旅行');
const api = require('./api')
api.init()
@@ -0,0 +1,7 @@
+/*
+cron "0-59/20 9-20 * * *" indexAction.js, tag=小茅运旅行
+*/
+const $ = new Env('小茅运旅行');
+const api = require('./api')
+api.init()