代码拉取完成,页面将自动刷新
同步操作将从 贺志扬/dailycheckin 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/bin/bash
if [[ $DINGTALK_SECRET ]]; then echo "DINGTALK_SECRET 变量存在,并成功赋值" ;else DINGTALK_SECRET="";fi;
if [[ $DINGTALK_ACCESS_TOKEN ]]; then echo "DINGTALK_ACCESS_TOKEN 变量存在,并成功赋值" ;else DINGTALK_ACCESS_TOKEN=""; fi;
if [[ $SCKEY ]]; then echo "SCKEY 变量存在,并成功赋值" ;else SCKEY=""; fi;
if [[ $BARK_URL ]]; then echo "BARK_URL 变量存在,并成功赋值" ;else BARK_URL=""; fi;
if [[ $QMSG_KEY ]]; then echo "QMSG_KEY 变量存在,并成功赋值" ;else QMSG_KEY=""; fi;
if [[ $TG_BOT_TOKEN ]]; then echo "TG_BOT_TOKEN 变量存在,并成功赋值" ;else TG_BOT_TOKEN=""; fi;
if [[ $TG_USER_ID ]]; then echo "TG_USER_ID 变量存在,并成功赋值" ;else TG_USER_ID=""; fi;
if [[ $COOLPUSHSKEY ]]; then echo "COOLPUSHSKEY 变量存在,并成功赋值" ;else COOLPUSHSKEY=""; fi;
if [[ $COOLPUSHQQ ]]; then echo "COOLPUSHQQ 变量存在,并成功赋值" ;else COOLPUSHQQ=true; fi;
if [[ $COOLPUSHWX ]]; then echo "COOLPUSHWX 变量存在,并成功赋值" ;else COOLPUSHWX=false; fi;
if [[ $COOLPUSHEMAIL ]]; then echo "COOLPUSHEMAIL 变量存在,并成功赋值" ;else COOLPUSHEMAIL=false; fi;
if [[ $IQIYI_COOKIE_LIST ]]; then echo "IQIYI_COOKIE_LIST 变量存在,并成功赋值" ;else IQIYI_COOKIE_LIST=[]; fi;
if [[ $VQQ_COOKIE_LIST ]]; then echo "VQQ_COOKIE_LIST 变量存在,并成功赋值" ;else VQQ_COOKIE_LIST=[]; fi;
if [[ $YOUDAO_COOKIE_LIST ]]; then echo "YOUDAO_COOKIE_LIST 变量存在,并成功赋值" ;else YOUDAO_COOKIE_LIST=[]; fi;
if [[ $KGQQ_COOKIE_LIST ]]; then echo "KGQQ_COOKIE_LIST 变量存在,并成功赋值" ;else KGQQ_COOKIE_LIST=[]; fi;
if [[ $MUSIC163_ACCOUNT_LIST ]]; then echo "MUSIC163_ACCOUNT_LIST 变量存在,并成功赋值" ;else MUSIC163_ACCOUNT_LIST=[]; fi;
if [[ $BAIDU_URL_SUBMIT_LIST ]]; then echo "BAIDU_URL_SUBMIT_LIST 变量存在,并成功赋值" ;else BAIDU_URL_SUBMIT_LIST=[]; fi;
if [[ $CITY_NAME_LIST ]]; then echo "CITY_NAME_LIST 变量存在,并成功赋值" ;else CITY_NAME_LIST=[]; fi;
if [[ $MOTTO ]]; then echo "MOTTO 变量存在,并成功赋值" ;else MOTTO=false; fi;
if [[ $XMLY_COOKIE_LIST ]]; then echo "XMLY_COOKIE_LIST 变量存在,并成功赋值" ;else XMLY_COOKIE_LIST=[]; fi;
if [[ $ONEPLUSBBS_COOKIE_LIST ]]; then echo "ONEPLUSBBS_COOKIE_LIST 变量存在,并成功赋值" ;else ONEPLUSBBS_COOKIE_LIST=[]; fi;
if [[ $FMAPP_ACCOUNT_LIST ]]; then echo "FMAPP_ACCOUNT_LIST 变量存在,并成功赋值" ;else FMAPP_ACCOUNT_LIST=[]; fi;
if [[ $TIEBA_COOKIE_LIST ]]; then echo "TIEBA_COOKIE_LIST 变量存在,并成功赋值" ;else TIEBA_COOKIE_LIST=[]; fi;
if [[ $BILIBILI_COOKIE_LIST ]]; then echo "BILIBILI_COOKIE_LIST 变量存在,并成功赋值" ;else BILIBILI_COOKIE_LIST=[]; fi;
if [[ $LIANTONG_ACCOUNT_LIST ]]; then echo "LIANTONG_ACCOUNT_LIST 变量存在,并成功赋值" ;else LIANTONG_ACCOUNT_LIST=[]; fi;
if [[ $V2EX_COOKIE_LIST ]]; then echo "V2EX_COOKIE_LIST 变量存在,并成功赋值" ;else V2EX_COOKIE_LIST=[]; fi;
if [[ $WWW2NZZ_COOKIE_LIST ]]; then echo "WWW2NZZ_COOKIE_LIST 变量存在,并成功赋值" ;else WWW2NZZ_COOKIE_LIST=[]; fi;
if [[ $SMZDM_COOKIE_LIST ]]; then echo "SMZDM_COOKIE_LIST 变量存在,并成功赋值" ;else SMZDM_COOKIE_LIST=[]; fi;
if [[ $MIMOTION_ACCOUNT_LIST ]]; then echo "MIMOTION_ACCOUNT_LIST 变量存在,并成功赋值" ;else MIMOTION_ACCOUNT_LIST=[]; fi;
if [[ $ACFUN_ACCOUNT_LIST ]]; then echo "ACFUN_ACCOUNT_LIST 变量存在,并成功赋值" ;else ACFUN_ACCOUNT_LIST=[]; fi;
if [[ $CLOUD189_ACCOUNT_LIST ]]; then echo "CLOUD189_ACCOUNT_LIST 变量存在,并成功赋值" ;else CLOUD189_ACCOUNT_LIST=[]; fi;
JSONSTR="{
\"DINGTALK_SECRET\": \"${DINGTALK_SECRET}\",
\"DINGTALK_ACCESS_TOKEN\": \"${DINGTALK_ACCESS_TOKEN}\",
\"SCKEY\": \"${SCKEY}\",
\"BARK_URL\": \"${BARK_URL}\",
\"QMSG_KEY\": \"${QMSG_KEY}\",
\"TG_BOT_TOKEN\": \"${TG_BOT_TOKEN}\",
\"TG_USER_ID\": \"${TG_USER_ID}\",
\"COOLPUSHSKEY\": \"${COOLPUSHSKEY}\",
\"COOLPUSHQQ\": ${COOLPUSHQQ},
\"COOLPUSHWX\": ${COOLPUSHWX},
\"COOLPUSHEMAIL\": ${COOLPUSHEMAIL},
\"CITY_NAME_LIST\": ${CITY_NAME_LIST},
\"MOTTO\": ${MOTTO},
\"IQIYI_COOKIE_LIST\": ${IQIYI_COOKIE_LIST},
\"VQQ_COOKIE_LIST\": ${VQQ_COOKIE_LIST},
\"YOUDAO_COOKIE_LIST\": ${YOUDAO_COOKIE_LIST},
\"KGQQ_COOKIE_LIST\": ${KGQQ_COOKIE_LIST},
\"MUSIC163_ACCOUNT_LIST\": ${MUSIC163_ACCOUNT_LIST},
\"XMLY_COOKIE_LIST\": ${XMLY_COOKIE_LIST},
\"ONEPLUSBBS_COOKIE_LIST\": ${ONEPLUSBBS_COOKIE_LIST},
\"FMAPP_ACCOUNT_LIST\": ${FMAPP_ACCOUNT_LIST},
\"BAIDU_URL_SUBMIT_LIST\": ${BAIDU_URL_SUBMIT_LIST},
\"BILIBILI_COOKIE_LIST\": ${BILIBILI_COOKIE_LIST},
\"LIANTONG_ACCOUNT_LIST\": ${LIANTONG_ACCOUNT_LIST},
\"V2EX_COOKIE_LIST\": ${V2EX_COOKIE_LIST},
\"WWW2NZZ_COOKIE_LIST\": ${WWW2NZZ_COOKIE_LIST},
\"SMZDM_COOKIE_LIST\": ${SMZDM_COOKIE_LIST},
\"MIMOTION_ACCOUNT_LIST\": ${MIMOTION_ACCOUNT_LIST},
\"ACFUN_ACCOUNT_LIST\": ${ACFUN_ACCOUNT_LIST},
\"CLOUD189_ACCOUNT_LIST\": ${CLOUD189_ACCOUNT_LIST},
\"TIEBA_COOKIE_LIST\": ${TIEBA_COOKIE_LIST}
}"
echo $JSONSTR > config.json
cat config.json
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。