Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新 Server 酱的通知渠道,使其适配最新的 Server 酱³ 的通知渠道 #569

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

PianCat
Copy link

@PianCat PianCat commented Jan 5, 2025

更新 Server 酱的通知渠道,使其适配最新的 Server 酱³ 的通知渠道

link = f"https://{sc3uid}.push.ft07.com/send/{skey.replace('.send', '')}.send?tags=QD"
else:
link = f"https://sctapi.ftqq.com/{skey.replace('.send', '')}.send"

content = content.replace('\\r\\n', '\n\n')
d = {'text': title, 'desp': content}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

新版Body也是这些字段么

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我在本地修改测试后是能够正常发送通知的,消息主体与Server Chan Turbo并没有太多区别,主要是更换了消息推送的渠道和新增了TAG功能。

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants