'''存放第三方配置'''

# 云之讯地址
YZX_URL = 'https://open.ucpaas.com/ol/sms/sendsms'
# 云之讯配置短信参数
YZX_PARAMS = {
     "sid":"2f6a1350d5af4a02ba20a1d28e222364",
     "token":"9172d1426b2ab65be4e94ee70e6fbb86",
     "appid":"54504eb58d6b4e8ebbab2bf9f0beca80",
     "templateid":"441707",
     "param": None,
     "mobile": None,
}

# 七牛云配置
ACCESS_KEY = 'O4CG1sqHB11cgJUCwDeyYW7s0_lw4pnk3YQXhx__'
SECRET_KEY = 'CZUOGFIFBh7mxa-nU4M1EQ8a_9eQQ8HckU_Ic-V4'
BUCKET_NAME = 'sz1901'
QIUNIU_URL = 'http://ptp9zpovb.bkt.clouddn.com'

# 额外的配置
REWIND_TIMES = 3  # 反悔次数


# 排行榜配置
LIKE_SCORE = 5
DISLIKE_SCORE = -5
SUPERLIKE_SCORE = 7

# 排行榜的key
RANK_KEY = 'HOT_RANK'
TOP_N = 10
