<?php
/*
 * @Descripttion:
 * @version:
 * @Author: kangkang
 * @Date: 2020-09-30 17:32:46
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-03-22 14:41:49
 */

return [
    //默认控制器和操作名
    'defaultController' => 'test\controller\Index',
    'defaultAction' => 'index',

    //根命名空间
    'namespace' => [
        'app' => APP_PATH . DIRECTORY_SEPARATOR . 'app',
        'fastphp' => APP_PATH . DIRECTORY_SEPARATOR . 'fastphp',
        'alipay' => APP_PATH . DIRECTORY_SEPARATOR . 'alipay',
        'enum' => APP_PATH . DIRECTORY_SEPARATOR . 'enum',
        'extend' => APP_PATH . DIRECTORY_SEPARATOR . 'extends',
    ],

    // 数据库连接
    'db' => [
        'host' => '127.0.0.1',
        'port' => 3306,
        'dbname' => 'hualianyun',
        'username' => 'root',
        'password' => 'qaz123!@#',
    ],
    // 线上数据库连接
    'formal_db' => [
        'host' => '127.0.0.1',
        'port' => 3306,
        'dbname' => 'hualianyun',
        'username' => 'root',
        'password' => 'qaz123!@#',
    ],
    //线上地址
    'formal_origin' => [
        'http://www.juip.com',
        'http://juip.com',
        'http://wiwuw.juip.com',
    ],
    // 跨域请求
    'origin' => [
        'http://www.juip.wyk',
        'http://admin.juip.wyk',
        'http://www.juip.com',
        'http://localhost:5000',
        'http://juip.com',
        'http://wiwuw.juip.com',
        'http://localhost:8081',
        'http://register.wyk',
        'http://popularize.juip.com',
        'http://agent.juip.com',
        'http://refund.juip.com',
        'http://account.juip.com',
        'http://select_addr.juip.com',
    ],
    //支付宝
    'alipay' => [
        'app_id' => '2021002102631089',
        'public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsYQTx4fjW5gklwCyOC84qRGPJXJ+gvSRsHgj3HExjs1BZiAWYzxr2XGYS8IHXh8iiZKojp9KXdzrUFcTu9Oqe8Xr+fPsPbqde2xlHK/8UXgMWjpNlt4YqjVxsqck5TgZzrPcL6/sLArB6EuK0qIDJh7Mt7OLX17az/921ZK03B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L/Oznm8CgYEAyjg9JvEhoSzAf+nJ+x/9enE/qISgweoNTctcqE+UY4VPn2y7D+UvVhdmPn7hn+fCevl03/JzDDYmmdaWq8HadiubJLEebLKlzDmAefY5fnjEEPR/GeCQWutdsmOAU8xhB3hzO6fDEP7bo7kZb3v7ES9LXaGcah5KCN2Tjfk+l7MCgYEAh+wNHhMg8tEsmGOASxkA2JIdTjY0uC/3eX+anmO0o7HR8I6IwGS7q5aQObUtwXtUnWIV1gKJF0Su6sQtbKXVvwaDuGj3oovefifRKwX4hVAinMsp8BWKryYzG+GEER/J1F/hsQKWZXHEsb9LHOThpMFIA2Qyl3Ci83OGGn7FOmMCgYAoRRjQd3aF/T58epcxfkZhKspNidPlqfFqS5QxJF/djb+0dNevq6lIkLJYwbW2vVV6XdELg+GrTeFUA2rP23Pg0oA7x1XSuaTQzaarIwCCEhShd78T7SdyI6ruCmiUx3+PGEqCV7891DLzILpS/DKcUnnEtJlMfKmrqExpGnh/hwKBgH/iqwvI/gGIqxIpAjl8uSBKCubRIzK4L1HX/jN0uqNHqDEmPenClJekhsaITSgVA/tqfqi6b1XZaDtg4beYX/ZfSWNi1afdqCf1i3ccfNUE6sagoSRBkWKNIqF6U3P505e4N7igMmYBk4ufemJedOAw/HnCiSNOY1yzElmn5bnc',
        'app_crt' => APP_PATH . 'config/alicrts/appCertPublicKey_2021002102631089.crt',
        'root_crt' => APP_PATH . 'config/alicrts/alipayRootCert.crt',
        'public_crt' => APP_PATH . 'config/alicrts/alipayCertPublicKey_RSA2.crt',
    ],
];
