luci-app-jd-dailybonus: sync with upstream source

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
jerrykuku 2021-02-22 14:37:38 +08:00 committed by Tianling Shen
parent 0d4a1f1dbd
commit 164947845e
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

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