yanyuyijian/Scripts/sh/Helpcode2.8v0/Andy Woo说明.txt
2021-07-03 04:00:40 +08:00

20 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

一、添加面板互助码自动更新监控任务。可自动读取最新的格式化导出互助码日志自动更新面板config.sh中的互助码。
1、将 sh 脚本和 db 数据库文件按路径拷贝到容器映射路径 config 和 db 文件夹
2、容器外docker exec -it qinglong ql update 或 容器内ql update
3、由于默认读取 JDHelloWorld 仓库脚本日志,建议在定时任务中拉取 JDHelloWorld 的仓库;
4、如果之前用 lxk0301 的脚本输出互助码,那么将 code.sh 中的
repo='JDHelloWorld_jd_scripts'
改成
repo='chinnkarahoi_jd_scripts'
就能直接读取和更新互助码信息。
二、code.sh 默认为:“均等机会助力模板”,自己根据注释部分修改模板;
## 定义 jcode 脚本导出的互助码模板样式(选填)
## 不填 使用“按编号顺序助力模板”Cookie编号在前的优先助力
## 填 0 使用“全部一致助力模板”,所有账户要助力的码全部一致
## 填 1 使用“均等机会助力模板”,所有账户获得助力次数一致
## 填 2 使用“随机顺序助力模板”,本套脚本内账号间随机顺序助力,每次生成的顺序都不一致。
HelpType="1"
三、互助 code.sh 支持互助模板修改,支持活动中文名称显示等;