x
This commit is contained in:
parent
9d9686e4a9
commit
011d821dc2
2
.gitignore
vendored
2
.gitignore
vendored
@ -16,5 +16,5 @@ session.token
|
||||
device.json
|
||||
data/
|
||||
logs/
|
||||
conf/*
|
||||
conf
|
||||
jdCookie.js
|
||||
@ -1,2 +0,0 @@
|
||||
#扫码端口
|
||||
httpport = 8080
|
||||
@ -1,37 +0,0 @@
|
||||
mode: parallel
|
||||
containers:
|
||||
# - address: http://192.168.31.233:5700
|
||||
# username: admin
|
||||
# password: admin
|
||||
# weigth:
|
||||
# mode: parallel
|
||||
# limit: 9999
|
||||
theme:
|
||||
static: ./static
|
||||
master:
|
||||
database:
|
||||
qywx_key:
|
||||
daily_push:
|
||||
resident:
|
||||
user_agent:
|
||||
telegram_bot_token:
|
||||
telegram_user_id:
|
||||
qquid:
|
||||
qqgid:
|
||||
default_priority:
|
||||
no_ghproxy: true
|
||||
daily_asset_push_cron:
|
||||
tasks:
|
||||
- cron: 0 6 * * *
|
||||
path: https://raw.githubusercontent.com/cdle/xdd/main/scripts/jd_goodMorning.js
|
||||
enable: true
|
||||
word: 早起福利
|
||||
mode: obo
|
||||
- cron: 0 0 * * *
|
||||
path: https://raw.githubusercontent.com/cdle/xdd/main/scripts/jd_angryBean.js
|
||||
enable: true
|
||||
word: 抢京豆
|
||||
mode: alo
|
||||
envs:
|
||||
- name: angryBeanPins
|
||||
- value: jd_xxxxx&jd_ooooo
|
||||
@ -1,8 +0,0 @@
|
||||
return reply(
|
||||
[
|
||||
`你好` => `我不好`,
|
||||
`早上好`=>`good morning`
|
||||
`壁纸` => `https://acg.toubiec.cn/random.php`
|
||||
`涩图` => `https://acg.toubiec.cn/random.php`
|
||||
]
|
||||
)
|
||||
@ -46,7 +46,6 @@ func createTask(task *Task) {
|
||||
task.ID = int(id)
|
||||
logs.Info(task.Word, "任务创建成功")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func runTask(task *Task, msgs ...interface{}) {
|
||||
@ -96,7 +95,7 @@ func runTask(task *Task, msgs ...interface{}) {
|
||||
return
|
||||
}
|
||||
cmd.Dir = ExecPath + "/scripts/"
|
||||
cmd.Stderr = os.Stderr
|
||||
// cmd.Stderr = os.Stderr
|
||||
err = cmd.Start()
|
||||
if err != nil {
|
||||
logs.Warn("%v", err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user