luci-app-jd-dailybonus: Keep up to date from jerrykuku (#6416)

This commit is contained in:
Beginner 2021-02-23 11:55:03 +08:00 committed by GitHub
parent ef97f2a247
commit a5169dbd05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ add_cron() {
# Run Script
notify() {
grep "Cookie失效" ${LOG_FILE} >/dev/null
grep "】: Cookie失效" ${LOG_FILE} >/dev/null
if [ $? -eq 0 ]; then
title="$(date '+%Y年%m月%d日') 京东签到 Cookie 失效"
else
@ -87,7 +87,7 @@ notify() {
\`\`\`
"$desc"
====================================
===============================
本消息来自京东签到插件 jd-dailybonus
\`\`\`"
wget-ssl -q --output-document=/dev/null --post-data="chat_id=$TG_USER_ID&text=$text&parse_mode=markdownv2" $API_URL