Qinglong panel jd script library environment variable description

Get Rich Script Technology > Exchange914535027
Lazy Welfare Boarding Link

Environment variable description

Jingdong (required)
Name attribution Attributes illustrate
JD_COOKIE Jingdong must JD cookies, cookies for multiple accounts are &separated. For details, refer to the browser to obtain the JD cookie tutorial or plug-in to obtain the JD cookie tutorial
Jingdong Privacy Security Environment Variables
Name attribution Attributes Defaults illustrate
JD_DEBUG Script print log not necessary true Whether to display the log when running the script, it is displayed by default. Changing it to false means not displaying it, and those who pay attention to privacy can set JD_DEBUG to false
JD_USER_AGENT Jingdong not necessary Customize the UserAgent of the JD series scripts in this library. If you don’t understand UserAgent, please don’t fill in the content at will. If you need to use this function, it is recommended to fill in the UA of JD APP
Push notification environment variables (currently provide notification methods such as 微信server酱, pushplus(推送加), iOS Bark APP, telegram机器人, 钉钉机器人, 企业微信机器人, etc.)iGot
Name attribution Attributes illustrate
PUSH_KEY WeChat server sauce push not necessary The WeChat notification official document of server sauce is compatible with Server sauce Turbo version
BARK_PUSH BARK push not necessary IOS users download the BARK APP, and fill in the content provided by the app 设备码, for example: https://api.day.app/123, then the device code here is 123, if you don’t know how to look at this picture (Note: Support self-built complete link ok)
BARK_SOUND BARK push not necessary Bark push sound settings, for example choo, please enter the specific value in bark- 推送铃声-查看所有铃声
BARK_GROUP BARK push not necessary bark push message grouping, for examplejd_scripts
TG_BOT_TOKEN telegram push not necessary tg push (requires the device to be connected to the external network), TG_BOT_TOKENand TG_USER_IDboth are required, fill in the Token that you apply for @BotFather10xxx4:AAFcqxxxxgER5uw , such as the specific tutorial
TG_USER_ID telegram push not necessary tg push (requires the device to be connected to the external network), TG_BOT_TOKENand TG_USER_IDboth are required, fill in the pure digital ID obtained from @getuseridbot , specific tutorial
DD_BOT_TOKEN Dingding push not necessary DingTalk pushes ( DD_BOT_TOKENand DD_BOT_SECRETboth are required) official documents , just https://oapi.dingtalk.com/robot/send?access_token=XXXequal to =the XXX after the symbol
DD_BOT_SECRET Dingding push not necessary ( DD_BOT_TOKENand both are required), the key, the robot security setting page, the characters DD_BOT_SECRETstarting with SEC displayed under the sign-up column , Note: You only need to check the security settings of the DingTalk robot, and do not check other options, if you don’t understand look at this pictureSECXXXXXXXXXX加签
QYWX_KEY Enterprise WeChat robot push not necessary Key, the key behind the enterprise WeChat push webhook is detailed in the official documentation
QYWX_AM Enterprise WeChat application message push not necessary Corpid, corpsecret, touser, agentid, material library picture id reference document 1 reference document 2
material library picture fill in 0 for graphic message, fill in 1 for plain text message
IGOT_PUSH_KEY iGot Push not necessary iGot aggregation push supports multi-way push to ensure message reachability. reference documents
PUSH_PLUS_TOKEN pushplus push not necessary One-to-one push or one-to-many push the following token (your Token) official website after WeChat scan code login
PUSH_PLUS_USER pushplus push not necessary 一对多推送的“群组编码”(一对多推送下面->您的群组(如无则新建)->群组编码)注:(1、需订阅者扫描二维码 2、如果您是创建群组所属人,也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送),只填PUSH_PLUS_TOKEN默认为一对一推送
TG_PROXY_HOST Telegram 代理的 IP 非必须 代理类型为 http。例子:http代理 http://127.0.0.1:1080 则填写 127.0.0.1
TG_PROXY_PORT Telegram 代理的端口 非必须 例子:http代理 http://127.0.0.1:1080 则填写 1080
互助码类环境变量
Name 归属 属性 需要助力次数/可提供助力次数 说明
FRUITSHARECODES 东东农场
互助码
非必须 5/3 填写规则请看jdFruitShareCodes.js或见下方互助码的填写规则
PETSHARECODES 东东萌宠
互助码
非必须 5/5 填写规则和上面类似或见下方互助码的填写规则
PLANT_BEAN_SHARECODES 种豆得豆
互助码
非必须 9/3 填写规则和上面类似或见下方互助码的填写规则
DDFACTORY_SHARECODES 东东工厂
互助码
非必须 5/3 填写规则和上面类似或见下方互助码的填写规则
DREAM_FACTORY_SHARE_CODES 京喜工厂
互助码
非必须 不固定/3 填写规则和上面类似或见下方互助码的填写规则
JDZZ_SHARECODES 京东赚赚
互助码
非必须 5/2 填写规则和上面类似,或见下方互助码的填写规则
JDJOY_SHARECODES 疯狂的JOY
互助码
非必须 6/ 填写规则和上面类似,或见下方互助码的填写规则
BOOKSHOP_SHARECODES 京东书店
互助码
非必须 10/ 填写规则和上面类似,或见下方互助码的填写规则
JD_CASH_SHARECODES 签到领现金
互助码
非必须 10/ 填写规则和上面类似,或见下方互助码的填写规则
JXNC_SHARECODES 京喜农场
互助码
非必须 / 注意:京喜农场种植种子发生变化的时候,互助码也会变!!
每个账号 shareCode 是一个 json,
json 需要用单引号包裹且是一行字符串,
否则设置环境变量时会出错,
示例:’{“smp”:“22bdadsfaadsfadse8a”,
“active”:“jdnc_1_btorange210113_2”,“joinnum”:“1”}’,
多账单间使用&或换行分开。
详细说明参见#Pr202
如果使用docker-compose部署就不需要在互助码两端加单引号。详细参见Issues#I35AG8
JDSGMH_SHARECODES 闪购盲盒
互助码
非必须 10/ 填写规则和上面类似,或见下方互助码的填写规则
JDCFD_SHARECODES 京喜财富岛
互助码
非必须 未知/未知 填写规则和上面类似,或见下方互助码的填写规则
dyjCode 大赢家
互助码
非必须 未知/未知 仅支持单个互助码,,暂不支持多号。格式:redEnvelopeId@markedPin
TYT_PACKETID 推一推
互助码
非必须 未知/未知 仅支持单个互助码,暂不支持多号
MONEYTREE_SHARECODES 摇钱树
互助码
非必须 未知/未知 填写规则和上面类似,或见下方互助码的填写规则
控制脚本功能环境变量
Name 归属 属性 说明
JD_BEAN_STOP 京东多合一签到 非必须 jd_bean_sign.js自定义延迟签到,单位毫秒.默认分批并发无延迟,
延迟作用于每个签到接口,如填入延迟则切换顺序签到(耗时较长),
如需填写建议输入数字1,详见此处说明
JD_BEAN_SIGN_STOP_NOTIFY 京东多合一签到 非必须 jd_bean_sign.js脚本运行后不推送签到结果通知,默认推送,填true表示不发送通知
JD_BEAN_SIGN_NOTIFY_SIMPLE 京东多合一签到 非必须 jd_bean_sign.js脚本运行后推送签到结果简洁版通知,
默认推送全部签到结果,填true表示推送简洁通知,效果图
PET_NOTIFY_CONTROL 东东萌宠
推送开关
非必须 控制京东萌宠是否静默运行,
false为否(发送推送通知消息),true为是(即:不发送推送通知消息)
FRUIT_NOTIFY_CONTROL 东东农场
推送开关
非必须 控制京东农场是否静默运行,
false为否(发送推送通知消息),true为是(即:不发送推送通知消息)
JD_JOY_REWARD_NOTIFY 宠汪汪
兑换京豆推送开关
非必须 控制jd_joy_reward.js脚本是否静默运行,
false为否(发送推送通知消息),true为是(即:不发送推送通知消息)
JOY_FEED_COUNT 宠汪汪喂食数量 非必须 控制jd_joy_feedPets.js脚本喂食数量,可以填的数字10,20,40,80,其他数字不可.
JOY_HELP_FEED 宠汪汪帮好友喂食 非必须 控制jd_joy_steal.js脚本是否给好友喂食,false为否,true为是(给好友喂食)
JOY_RUN_FLAG 宠汪汪是否赛跑 非必须 控制jd_joy.js脚本是否参加赛跑(默认参加双人赛跑),
false为否,true为是,脚本默认是true
JOY_TEAM_LEVEL 宠汪汪
参加什么级别的赛跑
非必须 控制jd_joy.js脚本参加几人的赛跑,可选数字为2,10,50
其中2代表参加双人PK赛,10代表参加10人突围赛,
50代表参加50人挑战赛(注:此项功能在JOY_RUN_FLAG为true的时候才生效),
如若想设置不同账号参加不同类别的比赛则用&区分即可(如下三个账号:2&10&50)
JOY_RUN_NOTIFY 宠汪汪
宠汪汪赛跑获胜后是否推送通知
非必须 控制jd_joy.js脚本宠汪汪赛跑获胜后是否推送通知,
false为否(不推送通知消息),true为是(即:发送推送通知消息)
JOY_RUN_HELP_MYSELF 宠汪汪
赛跑自己账号内部互助
非必须 输入true为开启内部互助
JD_JOY_REWARD_NAME 宠汪汪
积分兑换多少京豆
非必须 目前可填值为20或者500,脚本默认20,0表示不兑换京豆
MARKET_COIN_TO_BEANS 东东超市
兑换京豆数量
非必须 控制jd_blueCoin.js兑换京豆数量,
可输入值为20或者1000的数字或者其他商品的名称,例如碧浪洗衣凝珠
MARKET_REWARD_NOTIFY 东东超市
兑换奖品推送开关
非必须 控制jd_blueCoin.js兑换奖品成功后是否静默运行,
false为否(发送推送通知消息),true为是(即:不发送推送通知消息)
JOIN_PK_TEAM 东东超市
自动参加PK队伍
非必须 每次pk活动参加作者创建的pk队伍,true表示参加,false表示不参加
SUPERMARKET_LOTTERY 东东超市抽奖 非必须 每天运行脚本是否使用金币去抽奖,true表示抽奖,false表示不抽奖
FRUIT_BEAN_CARD 农场
使用水滴换豆卡
非必须 农场使用水滴换豆卡(如果出现限时活动时100g水换20豆,此时比浇水划算,推荐换豆),
true表示换豆(不浇水),false表示不换豆(继续浇水),脚本默认是浇水
UN_SUBSCRIBES jd_unsubscribe.js 非必须 共四个参数,换行隔开.四个参数分别表示
取关商品数量,取关店铺数量,遇到此商品不再进行取关,遇到此店铺不再进行取关具体使用往下看
JDJOY_HELPSELF 疯狂的JOY
循环助力
非必须 疯狂的JOY循环助力,true表示循环助力,false表示不循环助力,默认不开启循环助力。
JDJOY_APPLYJDBEAN 疯狂的JOY
京豆兑换
非必须 疯狂的JOY京豆兑换,目前最小值为2000京豆(详情请查看活动页面-提现京豆),
默认数字0不开启京豆兑换。
BUY_JOY_LEVEL 疯狂的JOY
购买joy等级
非必须 疯狂的JOY自动购买什么等级的JOY
MONEY_TREE_SELL_FRUIT 摇钱树
是否卖出金果
非必须 控制摇钱树脚本是否自动卖出金果兑换成金币,true卖出,false不卖出,默认false
FACTORAY_WANTPRODUCT_NAME 东东工厂
心仪商品
非必须 提供心仪商品名称(请尽量填写完整和别的商品有区分度),达到条件后兑换,
如不提供则会兑换当前所选商品
DREAMFACTORY_FORBID_ACCOUNT 京喜工厂
控制哪个京东账号不运行此脚本
非必须 输入1代表第一个京东账号不运行,多个使用&连接,例:1&3代表账号1和账号3不运行京喜工厂脚本,注:输入0,代表全部账号不运行京喜工厂脚本
JDFACTORY_FORBID_ACCOUNT 东东工厂
控制哪个京东账号不运行此脚本
非必须 输入1代表第一个京东账号不运行,多个使用&连接,例:1&3代表账号1和账号3不运行东东工厂脚本,注:输入0,代表全部账号不运行东东工厂脚本
CFD_NOTIFY_CONTROL 京喜财富岛
控制是否运行脚本后通知
非必须 输入true为通知,不填则为不通知
JD_JOY_PARK 汪汪乐园
控制是否运行此脚本,默认是
非必须 输入false为不运行
JD_TRY 京东试用
控制是否运行此脚本,默认否
非必须 输入true为运行
NOT_RUN 禁止运行某脚本
控制是否运行此脚本
非必须 输入对应脚本名称,多个脚本用&连接
互助码的填写规则

互助码如何获取:运行相应脚本后,在日志里面可以找到。

同一个京东账号的好友互助码用@隔开,不同京东账号互助码用&或者换行隔开,下面给一个文字示例和具体互助码示例说明

两个账号各两个互助码的文字示例:

京东账号1的shareCode1@京东账号1的shareCode2&京东账号2的shareCode1@京东账号2的shareCode2

两个账号各两个互助码的真实示例:

0a74407df5df4fa99672a037eec61f7e@dbb21614667246fabcfd9685b6f448f3&6fbd26cc27ac44d6a7fed34092453f77@61ff5c624949454aa88561f2cd721bf6&6fbd26cc27ac44d6a7fed34092453f77@61ff5c624949454aa88561f2cd721bf6

取关店铺secret的说明

secret依次是取关商品数,取关店铺数,遇到此商品不再进行取关,遇到此店铺不再进行取关

For example, if I want to unclose 100a product or 100a store, if the product meets the keyword of the product, iPhone12stop unclosing, and if the store encounters Apple京东自营旗舰店no unclosing , then
use 换行or &separate it.
The following is an example of line break separation:

100
100
iPhone12
Apple京东自营旗舰店

The following is &an example of symbol separation:

100&100&iPhone12&Apple京东自营旗舰店

About script push notification frequency

If you fill in the environment variables required for one of the push notification methods, the script notification is as follows:

At present, only jd_fruit.js, jd_pet.js, jd_bean_sign.js, jd_bean_change.js, jd_jxnc.js scripts (by default) are notified after each run

其余的脚本平常运行都是不通知,只有在京东cookie失效以及达到部分条件后,才会推送通知    

Lazy Welfare Boarding Link

Guess you like

Origin blog.csdn.net/qq_41846013/article/details/122583924