#!/usr/bin/env python3  
# -*- coding: utf-8 -*-  
"""
@Copyright (C) ansjer cop Video Technology Co.,Ltd.All rights reserved.
@AUTHOR: ASJRD018
@NAME: AnsjerFormal
@software: PyCharm
@DATE: 2019/10/16 9:45
@Version: python3.6
@MODIFY DECORD:ansjer dev
@file: config_local.py
@Contact: chanjunkai@163.com
"""
# token的secret
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:8077/stat'
SERVER_DOMAIN = 'http://127.0.0.1:8077/'
SERVER_DOMAIN_SSL = 'http://127.0.0.1:8077/'
SERVER_HOST = '127.0.0.1'
DOMAIN_HOST = '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": "AeuhR7FHisO-lOd2OwtzyDu7PSLMmDZoDLgmzuEQ12WCtTu_8Z1AzcD4gG5SnymnuvJs-n5KBB8H9Z_G",
    "client_secret": "EGkMCB3RWTcUGJGDYahJ9mCO0AQzEn2AvFfx1GAFjfyyn7-8a0NObcZks89QorlFpvNWTsDXVa2INRNM"
}
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',
    },
}
APNS_MODE = 'dev'
TUTK_PUSH_DOMAIN = 'http://push.iotcplatform.com/tpns'