This commit is contained in:
cdle 2021-08-21 16:19:47 +08:00
parent a3d14aa321
commit 516d764574
3 changed files with 17 additions and 23 deletions

3
.gitignore vendored
View File

@ -22,4 +22,5 @@ conf/config_cdle.yaml
conf/reply.php
jdCookie.js
scripts/node_modules
task/*
task/*
repos/*

View File

@ -22,12 +22,5 @@ qbot_public_mode: true
default_priority:
no_ghproxy: true
daily_asset_push_cron:
tasks:
- cron: 0 0 * * *
path: https://raw.githubusercontent.com/cdle/xdd/main/scripts/jd_angryBean.js
enable: true
word: 抢京豆
hack: true
envs:
- name: angryBeanPins
value: jd_xxxxx&jd_ooooo
repos:
- git: https://github.com/shufflewzc/faker2.git

View File

@ -14,19 +14,19 @@ import (
)
type Task struct {
ID int
Cron string
Path string
Enable bool
Mode string
Word string
Name string
Timeout int
Envs []Env
Args string
Ykq bool
Hack bool
From string
ID int
Cron string
Path string
Enable bool
Mode string
Word string
Name string
Timeout int
Envs []Env
Args string
Ykq bool
Hack bool
RepoName string
}
type Env struct {