<?php
// +----------------------------------------------------------------------
// | 应用设置
// +----------------------------------------------------------------------

return [
    // 应用地址
    'app_host'         => env('app.host', ''),
    // 应用的命名空间
    'app_namespace'    => '',
    // 是否启用路由
    'with_route'       => true,
    // 默认应用模块
    'default_app'      => 'admin',
    // 默认时区
    'default_timezone' => 'Asia/Shanghai',

    // 应用映射（自动多应用模式有效）
    'app_map'          => [],
    // 域名绑定（自动多应用模式有效）
    'domain_bind'      => [],
    // 禁止URL访问的应用列表（自动多应用模式有效）
    'deny_app_list'    => [],

    // 异常页面的模板文件
    'exception_tmpl'   => app()->getThinkPath() . 'tpl/think_exception.tpl',

    // 错误显示信息,非调试模式有效
    'error_message'    => '页面错误！请稍后再试～',
    // 显示错误信息
    'show_error_msg'   => false,


    //以下都是自定义配置

    //接口数据分页
    'limit' => 15,

    //登入验证
    'open_check' =>true,


    //token加密的key
    'jwt_key' => 'zhihuishequ',


    //支付宝支付相关参数
    'pay_alipay_sign_type'=>'RSA2',
    'pay_alipay_appid'=>'2021002110635559',
    'pay_alipay_open'=>'1',
    //应用私钥
    'pay_alipay_merchant_private_key'=>'MIIEogIBAAKCAQEAvrbXi8/ePxzFfIOcF5flf/YILuW0q7OVt+9jHZoSn/dkY6J7mYNate4tYq+QhPtBm7dKDu9WqF9nTKnwgoDBdZdDwudANDYNxBLS+Wpa03l/FpgJCSGe6ZAfb9EXKbOpkYMyKqWpFPF1261vwb0xYRgMZGeGXphGHTaXpFyHj9hR0WxAxHQVGFJeJP4S3SswI7klK9ASd2a1PzGad2XVT/MQUseNMKsHl32tklhU/qjLYsmOJb4w79gySKDC85mFAgL6KyVVKW0juroIRb1IxLUYEBUwChzQf3r+0TJ6fJ9yGh19lKS5pS4Hr/AZbA5wX+PBMe7H4nODlGGkPXhUCwIDAQABAoIBADVp2jajMli0wy7bYXVOKo3LJ4GS/iX0tyL73eOlij/ZNvmcwUc+fcJkgbuY9j34bOiizhAewkOH7NOQ6PZz/zri8ax9vgKhfPuEVihavDNsXMbEM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Fej1lSSr/zf6XDLCJ8lAytUsM=',
    //应用公钥
    'public_key'=>'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvrbXi8/ePxzFfIOcF5flf/YILuW0q7OVt+9jHZoSn/dkY6J7mYNate4tYq+QhPtBm7dKDu9WqF9nTKnwgoDBdZdDwudANDYNxBLS+Wpa03l/FpgJCSGe6ZAfb9EXKbOpkYMyKqWpFPF1261vwb0xYRgMZGeGXphGHTaXpFyHj9hR0WxAxHQVGFJeJP4S3SswI7klK9ASd2a1PzGad2XVT/MQUseNMKsHl32tklhU/qjLYsmOJb4w79gySKDC85mFAgL6KyVVKW0juroIRb1IxLUYEBUwChzQf3r+0TJ6fJ9yGh19lKS5pS4Hr/AZbA5wX+PBMe7H4nODlGGkPXhUCwIDAQAB',
    //支付宝公钥
    'pay_alipay_public_key'=>'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtl27/bcRervEf1YJoSGyQusBAh9CtcwyzZzUBfHtclYUDQZ154SijHfNxWX71AtMgPnTdeSzFC6Ky6WC9/MSAz2OrSbhhi7PX+f+ydgnBL/CoPw5O699MHuCTQzuOKRVoEwLcgjWm3nJNELTY9RVGQ2GkAD+Tj4wih2FXoFmVyGMdoz8dsYFBo/fgxOhb+mkYVy+uJfu4vuh7DwM2T9H5z8PmodDLvPnqO1+IEqFvoSdBf4Hyy0SNaurrWrsBDPO1ei41yD2tGxwHSCMN2NvChAnyHMblzdU2OvIjnaJrNeEeD/lBmWJs2Z/I2NHkjO/zcWShIldf8UTl64vJfGQbwIDAQAB',
    //支付宝支付回调
    'notifyurl' =>'http://'.$_SERVER['SERVER_NAME'].'/api/Payreturn/aliPayReturn',
    //微信app支付参数
    'weixinPay' => [
        'pay_weixin_appid'=>'wx8dbf4b4b823f34e7',
        'pay_weixin_mchid'=>'1586820961',
        'pay_weixin_appsecret'=>'5eb1fb7502cc2b24be7b67e9fe04870c',
        'pay_weixin_key'=>'41914f15f59dc19fef30385f46eb4ce4',
        'notifyurl' =>'http://'.$_SERVER['SERVER_NAME'].'/api/Payreturn/weiXinPayReturn',
    ],

    //短信相关配置
    'message_appKey' => '7cb29ca79f936510847b7bc6',
    'message_masterSecret' => '8b1c955df362e317b987554c',


    //app社区默认logo
    'village_log' => '/upload/village/village_logo.png',
    'banner' => [
        ['pic' => '/upload/new/village_11/20210218/7fb2114571b4f90997d5612d01a1ba33.jpg','url' =>'#'],
        ['pic' =>'/upload/new/village_11/20210218/712aade4afadc8f1ae6d5aa93ca6f76c.jpg','url'=>'#']
    ],


    //阿里云图片上传参数
    "alioss" =>[
        'keyId' => 'LTAI4GFAtgRK4cSyZ9DVBEd3',  //Access Key ID
        'keySecret' => 'e6n82Q4Hiha49gSBexTBKVAqR2Wrrg',  //Access Key Secret
        'endpoint' => 'http://oss-cn-hangzhou.aliyuncs.com',  //阿里云oss 外网地址endpoint
        'bucket' => 'coboriel',  //Bucket名称
        'pic_url'=>'https://pic.coboriel.com',//阿里云oss
    ],






];
