Git Product home page Git Product logo

jdyhq's Introduction

jdYhq

一、拉库命令

名称:随意自己能找到就行

命令:ql repo https://github.ruirui.fun/https://github.com/hsdtk/jdYhq.git "jd_" "" "^jd[^_]"

拉库失败的可以最后加上 "main" 例如:

ql repo https://github.ruirui.fun/https://github.com/hsdtk/jdYhq.git "jd_" "" "^jd[^_]" "main"

或者这个地址

ql repo https://hub.yzuu.cf/hsdtk/jdYhq.git "jd_" "" "^jd[^_]"

ql repo https://hub.njuu.cf/hsdtk/jdYhq.git "jd_" "" "^jd[^_]"

拉库失败的用这个不带代理地址试一试

ql repo https://github.com/hsdtk/jdYhq.git "jd_" "" "^jd[^_]"

定时规则: 29 19 * * *

(代表每天19点29拉取,29请自行修改为1到59任意数字 防止所有人同时拉库压力过大)

拉取成功后会新增2个任务 请不要修改定时 不要修改定时

激活码环境变量名称为 YHQ_QL_SIGN 请添加微信cxtwg22回复”青龙“查看如何获取

二、增加配置环境变量(不修改参数不需要增加)

参数环境变量名称为 YHQ_API

参数环境变量值为 3,3,3,250,8,220

六个值不能少请自己修改,英文逗号隔开分别对应:

重试次数,整点抢几种类型券,最大线程数,抢券间隔毫秒,默认抢前几个账号的券,提前多少毫秒

三、其他环境变量(不需要则不用增加)

1、排除不需要抢的优惠券

参数环境变量名称为 YHQ_REMOVE

参数环境变量值为 jdYhqApiList.js中qName 不要双引号多个用英文逗号隔开

如果值设置为all则不抢jdYhqApiList.js中的优惠券 只会抢自定义优惠券

例如: 极速15-5,极速10-2

2、立即执行券

作用:用于账号批量领券

参数环境变量名称为 YHQ_NOWRUN

参数环境变量值为 jdYhqApiList.js中qName 要一样且只能一个 跑完切记删除或禁用该环境变量 要不每次都跑

四、自定义如何添加API?

如需增加自定义api请复制jdYhqApiList.js改名为jdYhqApiListMy.js放于同一目录 然后修改新文件里面的券 注意会同时加载2个文件的券 所以请不要有重复的券

或者把jdYhqApiList-backup.js直接改名为jdYhqApiListMy.js 删除掉不要的券就可以

五、如何监控商品库存(不监控不用加)?

监控商品库存环境变量:

TK_SIGN 激活码 请关注公众号cxt_wg回复“监控激活码”获取激活码

STOCK_GOODS 监控商品Id多个用&符号分隔 不需监控了该值改为0

STOCK_AREA 监控地区ID不设置默认江苏南京 示例12_904_3375或12-904-3375

jdyhq's People

Contributors

hsdtk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.