#!/usr/bin/env python
# -*- coding:utf-8 -*-
#
#   Author  :   zhangxiaolin
#   E-mail  :   petelin1120@gmail.com
#   Date    :   17/6/21 16:59
#   Desc    :   ...

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',  # 设置为mysql数据库
        'NAME': 'cadus',
        'USER': 'work',
        'PASSWORD': 'Gengmei1',
        'HOST': 'rm-2ze0v6uua2hl9he8e.mysql.rds.aliyuncs.com',
        'PORT': '',
        'OPTIONS': {
            "init_command": "SET foreign_key_checks = 0;",
            "charset": "utf8mb4",  # 为了支持emoji表情
        },
    },

    'gaia': {
        'ENGINE': 'django.db.backends.mysql',  # 设置为mysql数据库
        'NAME': 'zhengxing_test',
        'USER': 'work',
        'PASSWORD': 'Gengmei1',
        'HOST': 'rm-2ze0v6uua2hl9he8e.mysql.rds.aliyuncs.com',
        'PORT': '',
        'OPTIONS': {
            "init_command": "SET foreign_key_checks = 0;",
            "charset": "utf8mb4",  # 为了支持emoji表情
        },
    }
}

RAVEN_CONFIG = {
    'dsn': 'http://c5b4ede52bc6452182565b529735a090:0324e8fff118445a9b38576213b8e759@sentry.igengmei.com/120',
}

DATABASE_ROUTERS = ['common.django_tools.GaiaRouter']

# DATABASES = {
#     'default': {
#         'ENGINE': 'django.db.backends.mysql',  # 设置为mysql数据库
#         'NAME': '',
#         'USER': 'work',
#         'PASSWORD': 'workwork',
#         'HOST': 'rdsmaqevmuzj6jy.mysql.rds.aliyuncs.com',
#         'PORT': '',
#         'OPTIONS': {
#             "init_command": "SET foreign_key_checks = 0;",
#             "charset": "utf8mb4",  # 为了支持emoji表情
#         },
#     },
# }

SECRET_KEY = '0l-lv2j^czg(dsdf3hbs(+_+djb49zelwt&rh71@b1x*ptmj4#(^'  # dev

CACHES = {
    "default": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://192.168.168.142/13",
        "OPTIONS": {
            "CLIENT_CLASS": "django_redis.client.DefaultClient",
        }
    }
}

# ====================================================================================================
# ============================================微信====================================================
# ====================================================================================================
M_WECHAT_APP_ID = 'wx5dcbb1544163c77c'
M_WECHAT_PARTNER_ID = '1284132201'
M_WECHAT_SECRET = 'e821f46be6ee45e3ca80d189f989313b'  # 不是微信的SECRET 是 pay.weixin.qq.com!!
M_WECHAT_PEM_KEY = """-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDt1dDq+GzhiGhA 21H2HoupC2ctUD96TlqnN6rECBsr14JSZPJBlTgOldbIz5xWYyWunNn6sVoE40sT KkdEkunRPX63QqzoNnarg+6aNtR5F30IWGiT8Hc7JfKg5GKTnrmNzifintMD9S92 dSVknreMXTJbSs366/vyBrt6GcHETX98ECWTOM4au6jvaQYHxMY/T4s25JGRijSD tLJZnakY6Db/PiNGd6jTlRsfSTRPkm5/v/RqYRO8FVB2+1c7/tb2z/JuRK0/bWDe jItA5Et1qiAzEh0RLiUATnjWZlAaZptYJJ0ZdS9E5wgGOP6A47/IbrOHtv6NU2GS GcXdM8zLAgMBAAECggEAUkjReRnuAbGB8D5xAufahefOEJ1c+OG293eI+z2auPZc vkjyj8IinNk2cE9z1WeEF/9oYxWNAXfp931/Hrh9cMkH2DuXOtftArYojO4/YI3B 0mtT8ysU9T/Ry9x4Rn550BftMLimZQ4lF6S8BS3sbwGndHJTBWczya6OmlXi9hj3 KxZTMDf/IUzj3U3BQ2ms2Etz23WAwTwyHrhjA43H9I+YZIuFN4+ncUKT2i9Smf8l dkyuWqFtU9yXOJMuRy3Sl7idhSgjGB+Yr4/A9OO3uWEcxiKFmZX8GnbFPe4tjv1T fgFmzOOvmB3JsJE1p6xfnk2IVUH6pxvEg2ClqsSd4QKBgQD6AhyQByC7PRy8Sba7 Mw9QQnWnPvB4lLN2F8qfjyUNq/sTLo6Z9pITfSvyKveH1dcHVfFS31X2UoMu10tv cBN0OsbjWsVQtr9mFA4Ig8xcfl4iSHegGks/cCIi47K6Y9gl+snd4b7ZNu1ie4ia jhBA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0BAQUFAAOB gQBLiBq6evrBVixo2sRpusxMuRZ4zGf7eugLLl+dtimyGCSihuhKb+/WwYqyNBjq 73cKtVn4XO4Mro0R3w3d6ub5jlwPDWDJfY/q5VenzKzyEIjT0usb1ayE2z0A/BLP KMgCfa9b94dmHF8KH/2GhaLab/Z0ig4zJAO4bgcmQYYTjA==
-----END CERTIFICATE-----"""

M_WECHAT_NOTIFY_URL = 'http://backend.hotfix2.gmei.com/pay/wechat/notify'

CLIENT_WECHAT_APP_ID = "wx403cd28c142c7d87"
CLIENT_WECHAT_PARTNER_ID = "1302548401"
CLIENT_WECHAT_SECRET = "e821f46be6ee45e3ca80d189f989313b"
# cert
CLIENT_WECHAT_PEM_KEY = """-----BEGIN PRIVATE KEY-----
MIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQDyo/sKm8Be27Sn WLyoRdn8svW9WiGgAyI8876l+ESyCoYqpeTGZvmeDKdvalky/WapF2SQAqvumJjf UKdt8h6r+QwqmoHnsBkuATQdrv9XiU9Uzi7W/U+AxVLINpf85NSwtm2i/PC+hogY TsEUAFaFMGnautNYuK+TYwUw1Ek8kb3Q6dZ8Rz+1gTVA+kEggnbgkFqv8qTzDcxs BtAEwoVPBndlizSvTgwbZ9N5lkpKkNTkdFOi3fqlyfixUAr0u5xIUcSdE2LX0rlx u1p6YnImsSZppGAN5bAMyePvZli7MoPd7xjQrS99YR0FyZCGrNAUCPBOQfqDDLqQ 6nBfs7htAgMBAAECggEBAOi5xZCwQPv6yTR1lUXk8adB0xfR+kxqlQ1XUHYKQYFv PK5tPZfarvMb+gCQRYv1puDqUgcauOP5sy8GQgDfaPHTxwqZ9Z1Ot2f7uYv7DGhe iBu0QxLsFbRSDwt/6ZmjtijkYRYie5qSmLiP2PshM9s9y1oDNbF0Otsn75OdGb2f wg+FO1qeawo5e3uJ8DgZfJqB+0anocTXZxGpfH0N40NyedfXb7OqfGuYrN8XFke4 WL0B+MkPEKVfUZvj1PA1rVZkUl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zERMA8GA1UEBxMIU2hlbnpoZW4xEDAOBgNVBAoTB1RlbmNl bnQxDDAKBgNVBAsTA1dYRzETMBEGA1UEAxMKTW1wYXltY2hDQTEfMB0GCSqGSIb3 DQEJARYQbW1wYXltY2hAdGVuY2VudIIJALtUlyu8AOhXMA4GA1UdDwEB/wQEAwIG wDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOBgQCImJqb 5uRuDpT+dyhJmAXkk3DMqwKMVOcGV/B/+VmahWMPMHAggjEsg+sEu3orO5gqHook RPIqONBR/YLU4VJORgj3zia6Z5RIzZlJo3tOXNYFVX+i2FwyqriyOSTE9U9sGBV2 8w9kpFJGt1yndN9++0mwOY4qTNgL6LHWEwSgHQ==
-----END CERTIFICATE-----"""

# ====================================================================================================
# ============================================支付宝===================================================
# ====================================================================================================
# 合作身份者ID，以2088开头的16位纯数字
ALIPAY_PARTNER = '2088211612339882'
# 签约支付宝账号或卖家支付宝帐户
ALIPAY_SELLER_EMAIL = 'zhengxuan@wanmeizhensuo.com'
# MD5 密钥
ALIPAY_MD5_KEY = "2894fddi6kahmpj56n008le81gjnvdwp"
# ===ALIPAY_APP_CONFIG===START
# https://doc.open.alipay.com/doc2/detail.htm?treeId=204&articleId=105465&docType=1
ALIPAY_APP_APP_ID = "2016051901420550"
# 商家的私钥
ALIPAY_APP_MY_PRIVATE_KEY = """-----BEGIN PRIVATE KEY-----
MIICXwIBAAKBgQDkGyj52wT/zQuRa1mAKwAkq09JZDCGcoBc4iLUchNvyAC8KJLTNDRMI+hA8VCsQv4s+usgvQvfjNYq4/Ryoh7mQbrVrFBc38IfPhbmNbHsczTX5+ZR8/LKcA3yNcJYbbAleFuqR89kxxo93rtBLsP0lWUn1R76MV15BOKw5UiXlwIDAQABAoGBAN2x4/ZKPqaa02ZnLhpaMI5zDOEohdz1xfoAMpfFs0xN1yEIUgMBVt61e1I69wwlJEH1MLal5bdEexY+bONI27taE5AkWb2vF3PMjt3TeyJCrxtDtq78Vxk/oXQA/9DaPz0Fa0UbDgIZPZZGVLLol3VRg88x00dRK+cQvgZ1jjhRAkEA+tSct5C/7DziNbGKf/xfKHYzciEb75Y/JF6JDdhHTHh/sDFYRspQoyEfhAqHXygRB0kiGoURlNGz/hXECKF1qQJBAOjOpz3yHyT1o3T1aUTfIZA0zT486Bj8yhiULrYqOrISQqWWXXktDnwM1JhXGgxmtCtdywCkHuiRQDT/DBvHaz8CQQC2/c2njg62hmRxz6i/Xpr9pd46cTU0QWSnX+CVHShG/dIJ9LX2TzstB8k6R4QjQ9PIgO5Ecrg03hh2UeLGeSShAkEAhYYg/bJkknogKfCnU8z2HxNptAySweIat0YmFGzcBU3b08UOD3X8HMHvHQC3++zb4ROGXvPClnjYbozpkPUrWQJBAMBZoVZtntWxD3akZBbBO9dfXktrlxagvWNWtSPnDfDsdn+qRRQr6ln4TBkLk/nDYQSiLtFzBxuyrrtCncfbcnc=
-----END PRIVATE KEY-----"""
# 支付宝针对商家的公钥
ALIPAY_APP_ALI_PUBLIC_KEY = """-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB
-----END PUBLIC KEY-----"""

# 旧的商家的私钥，在原有接口被废弃在之后可以删除相关的代码和这里的配置
ALIPAY_APP_OLD_MY_PRIVATE_KEY = """-----BEGIN PRIVATE KEY-----
MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBALY37P8VQobI+24mwEjDV/8aAPNnS9MXJW0ZC7fnWXajJOue4X7/L+qDaWpTj/cptpFLomsl6IKAxMSefBO0CGpkjI1Oe0G9tg+Ki4Szk7CdaYNfhhRpyFwOhKiGgEKSCmboinOkc8yuD02kdSfrhzOrmN2I2KVMBjFW7V8JczN/AgMBAAECgYEAk8If3OzJaHCbacPkklxNA+B7OuTdWIvhXmk71mG0av56FtJcOlYF7d2n4n9mM19Q2tsBFm/D7ecrJ+D37iZD11vZmmwIOl5/CwOf9MUwP3ENG7S1Ax/CIZaM5MuwUs4sLXgMKaImPXq4u7UWqVuxwH+iyokXxz/uxCMf+0qFPSkCQQDc7DNZhDqh1M2ZDqhliCSP/nn8CHX6BYRIEbMQW7g1V59TOr89N8ht3FZ5b3dVItielU4dRez7o4BPYThVL6udAkEA0yaF9/BYKg9LBAPJxvnNZWu1GmabpMmawx45B4jdoTLrK+wwGPwORBIyZ+og5M0IRTW5w42ECM/Fi+KAjU82ywJAJc/jphGku2gh3G2O0vnvUBn9JO8JykZBcthcrpMUP0UFBwjKDJ9Mlckdn+E9KnwxWUsyuH3sZtGAN5XrP2FOXQJAdlUIj0LqpeecKsvUsOYd7dDG1dzbLSauzNqLK2XQjx5yHVNoQRhBBnUMOqBDfvZIxECvsqAEdsu58gMl+AuEsQJAZ6r6GHJLyQEvz5RJ8KeYnAK0FxrH76gfCPE1luLf/DVifYIopfnBbB2TczbpxEwmC1K0fk3K6HdbQnpU5o67QQ==
-----END PRIVATE KEY-----"""
# 旧的支付宝针对商家的公钥，在原有接口被废弃在之后可以删除相关的代码和这里的配置
ALIPAY_APP_OLD_ALI_PUBLIC_KEY = """-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB
-----END PUBLIC KEY-----"""

# ===ALIPAY_APP_CONFIG===END

# 买单的支付通知URL前缀，请保证最后一个字符是"/"
MAIDAN_PAY_NOTIFY_URL_BASE = "http://backend.hotfix2.gengmei.cc/pay/maidan/notify/"

# ====================================================================================================
# ============================================yinuo==============================================
# ====================================================================================================
YINUO_SECRECT = 'kwR58f2BNLWemSmOEDsi9mJReWpHfGo8'
YINUO_USER_ID = 'KOQ6CNWM'
YINUO_CREATE_URL = 'https://api-sandbox.yinuobaoxian.com/partner/order/create'
YINUO_PAY_URL = 'https://api-sandbox.yinuobaoxian.com/partner/order/pay-balance'
YINUO_PREMIUM = 5
YINUO_PRODUCT_ID = '8YMWI5QZ'
YINUO_PLAN = 'A'

# ====================================================================================================
# ============================================Apple Pay===============================================
# ====================================================================================================
APPLEPAY_MD5_KEY = 'v99#l2*hy4omRGqp$#c5OJJ77KOK6mz^'
OID_PARTNER = '201603031000747503'
APPLE_PROXIES = "https://127.0.0.1/"

TEST_RUNNER = "common.utils.NoDbTestRunner"

DEBUG = False


SERVER_HOST = "cadus.cadus.env"  # cadus服务地址
NOTIFY_URL_BASE = "http://exchange.env.wanmeizhensuo.com/test/gateway/cadus/"  # 最后不要有 /

WECHAT_PREPAYID_CACHETIME = 5  # 5秒过期
