This commit is contained in:
zhinianboke 2025-10-25 19:00:12 +08:00
parent 8a4d4af2be
commit 1737f2e301
2 changed files with 9 additions and 7 deletions

View File

@ -14,15 +14,17 @@ on:
# 当创建tag时触发
tags:
- 'v*'
# 当Dockerfile或相关文件被修改时触发可选
# 当有代码推送到主分支时触发
branches:
- main
- master
paths:
- 'Dockerfile'
- 'Dockerfile-cn'
- 'requirements.txt'
- '.github/workflows/docker-build.yml'
# 排除不需要构建的文件
paths-ignore:
- 'README.md'
- '*.md'
- 'docs/**'
- '.gitignore'
- 'LICENSE'
jobs:
build-and-push:

View File

@ -4339,7 +4339,7 @@ class XianyuLive:
text = {
"contentType": 1,
"text": {
"text": text + "\n\n\n购买后如果没有发货,可尝试点击提醒发货按钮"
"text": text
}
}
text_base64 = str(base64.b64encode(json.dumps(text).encode('utf-8')), 'utf-8')