first commit

This commit is contained in:
SwZ
2025-03-28 14:50:37 +08:00
commit d9cd4709db
97 changed files with 1519 additions and 0 deletions

27
const.py Normal file
View File

@@ -0,0 +1,27 @@
import os
BASE_PATH = os.path.dirname(__file__)
SAFE = '!'
MIMETYPE = {
'jpg': 'image/jpeg',
'jpeg': 'image/jpeg',
'png': 'image/png',
# 'gif': 'image/gif',
'mp4': 'video/mp4',
}
PIC_TYPE = ('image/jpeg', 'image/png')
ELEMENT = {
}
# ucloud-us3
PUBLIC_KEY = '4ZF9nrEbA93FDL29606cKFGYEb59Zu9ip' # 账户公钥
PRIVATE_KEY = 'FD9DgHZVe4Q9GevRb8QcwBD6S8Iesv48ZBsWImwEGPZr' # 账户私钥
BUCKET = 'fanzhixitong' # 空间名称
UPLOAD_SUFFIX = '.jpn-tky.ufileos.com'
DOWNLOAD_SUFFIX = '.jpn-tky.ufileos.com'
# DOVE PROXY
DOVE_USER = 'fetdog'
DOVE_PWD = 'aAa123456aAa'