#!/usr/bin/env python3  
# -*- coding: utf-8 -*-  

import os

OAUTH_ACCESS_TOKEN_SECRET = 'local_a+jbgnw%@1%zy^=@dn62%'
OAUTH_REFRESH_TOKEN_SECRET = 'local_r+jbgnw%@1%zy^=@dn62%'

NGINX_RTMP_STAT = 'http://127.0.0.1:8000/stat'
SERVER_DOMAIN = 'http://127.0.0.1:8000/'
SERVER_DOMAIN_SSL = 'http://127.0.0.1:8000/'
SERVER_HOST = '127.0.0.1'
DOMAIN_HOST = '127.0.0.1'
PUSH_REDIS_ADDRESS = '127.0.0.1'
# SERVER_HOST = '127.0.0.1'
# DOMAIN_HOST = '127.0.0.1'
RTMP_PUSH_URL = 'rtmp://127.0.0.1:1935/hls'
PAYPAL_CRD = {
    "mode": "sandbox",  # sandbox or live
    "client_id": "AVLoQVq3xHZ6FrF4mxHwlCPgVBAw4Fw5RtMkuxmYd23SkUTIY643n2g3KdK-Al8wV05I28lza5uoQbAA",
    "client_secret": "EO8kRc8yioDk0i2Qq-QMcVFfwkmyMJorTvBSLDTnxDJJ_wb9VoM_0jkUY9iEng2Flp1ze8wQOGpH5nB2"
}
PAYPAL_WEB_HOOK_ID = '6TS30758D98835230'
DETECT_PUSH_DOMAIN = 'http://test.push.dvema.com/'
DETECT_PUSH_DOMAINS = 'https://test.push.dvema.com/'
DETECT_PUSH_DOMAIN_JIUAN = 'http://jiuan.push.dvema.com/'
DETECT_PUSH_DOMAINS_JIUAN = 'https://jiuan.push.dvema.com/'
# 数据库dyanamo品牌日志数据库
USER_BRAND = 'test_user_brand'
USER_BRAND_ALL = 'test_user_brand_all'


APNS_CONFIG = {
    'com.ansjer.loocamccloud': {
        'pem_path': 'Ansjer/file/apns_pem/lcc-dev.pem',
    },
    'com.ansjer.zosidcloud': {
        'pem_path': 'Ansjer/file/apns_pem/zosidcloud-dev.pem',
    },
    'com.ansjer.customizedb': {
        'pem_path': 'Ansjer/file/apns_pem/customizedb-dev.pem',
    },
    'com.ansjer.customizeda': {
        'pem_path': 'Ansjer/file/apns_pem/customizeda-dev.pem',
    },
    'com.ansjer.zccloud': {
        'pem_path': 'Ansjer/file/apns_pem/zccloud-dev.pem',
    },
    'com.ansjer.accloud': {
        'pem_path': 'Ansjer/file/apns_pem/accloud-dev.pem',
    },
    'com.ansjer.customizede': {
        'pem_path': 'Ansjer/file/apns_pem/ZhouShi-dev.pem',
    },
}
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
APNS_MODE = 'dev'
TUTK_PUSH_DOMAIN = 'http://push.iotcplatform.com/tpns'

# aws api key
AWS_ARN_S3 = 'arn:aws-cn:s3'
REGION_NAME = 'cn-northwest-1'
ACCESS_KEY_ID = 'AKIA2MMWBR4DSFG67DTG'
SECRET_ACCESS_KEY = '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'

# 存储桶名
AVATAR_BUCKET = 'avatar-cn'         # 头像存储桶
LOG_BUCKET = 'ansjer-statres'       # 日志存储桶
