This commit is contained in:
cdle 2021-08-17 21:08:06 +08:00
parent 5814e98f4d
commit cfb84b2790
3 changed files with 5 additions and 6 deletions

View File

@ -23,16 +23,13 @@ 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
hack: true
envs:
- name: angryBeanPins
- value: jd_xxxxx&jd_ooooo
- path: https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_all_bean_change.js
word: 查询

View File

@ -91,6 +91,7 @@ type JdCookie struct {
Cash string `gorm:"column:Cash"`
Help string `gorm:"column:Help;default:false" validate:"oneof=true false"`
Pool string `gorm:"-"`
Hack string `gorm:"column:Hack" validate:"oneof=true false"`
}
type JdCookiePool struct {

View File

@ -25,6 +25,7 @@ type Task struct {
Envs []Env
Args string
Ykq bool
Hack bool
}
type Env struct {