123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303 |
- <?php
- return [
-
- 'app_name' => '',
-
- 'app_host' => request()->domain(),
-
- 'app_debug' => \think\facade\Env::get('app.app_debug',false),
-
- 'app_trace' => false,
-
- 'app_multi_module' => true,
-
- 'auto_bind_module' => false,
-
- 'root_namespace' => [],
-
- 'default_return_type' => 'json',
-
- 'default_ajax_return' => 'json',
-
- 'default_jsonp_handler' => 'jsonpReturn',
-
- 'var_jsonp_handler' => 'callback',
-
- 'default_timezone' => 'Asia/Shanghai',
-
- 'lang_switch_on' => false,
-
-
- 'default_filter' => 'trim,remove_xss',
-
- 'default_lang' => 'zh-cn',
-
- 'class_suffix' => false,
-
- 'controller_suffix' => false,
-
-
-
-
- 'default_module' => 'admin',
-
- 'deny_module_list' => ['common'],
-
- 'default_controller' => 'Index',
-
- 'default_action' => 'index',
-
- 'default_validate' => '',
-
- 'empty_module' => '',
-
- 'empty_controller' => 'Error',
-
- 'use_action_prefix' => false,
-
- 'action_suffix' => '',
-
- 'controller_auto_search' => false,
-
-
-
-
- 'var_pathinfo' => 's',
-
- 'pathinfo_fetch' => ['ORIG_PATH_INFO', 'REDIRECT_PATH_INFO', 'REDIRECT_URL'],
-
- 'pathinfo_depr' => '/',
-
- 'https_agent_name' => '',
-
- 'http_agent_ip' => 'X-REAL-IP',
-
- 'url_html_suffix' => 'html',
-
- 'url_common_param' => false,
-
- 'url_param_type' => 0,
-
- 'url_lazy_route' => false,
-
- 'url_route_must' => false,
-
- 'route_rule_merge' => false,
-
- 'route_complete_match' => false,
-
- 'route_annotation' => false,
-
- 'url_domain_root' => '',
-
- 'url_convert' => true,
-
- 'url_controller_layer' => 'controller',
-
- 'var_method' => '_method',
-
- 'var_ajax' => '_ajax',
-
- 'var_pjax' => '_pjax',
-
- 'request_cache' => false,
-
- 'request_cache_expire' => null,
-
- 'request_cache_except' => [],
-
- 'route_check_cache' => false,
-
- 'route_check_cache_key' => '',
-
- 'route_cache_option' => [],
-
- 'dispatch_success_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl',
- 'dispatch_error_tmpl' => Env::get('think_path') . 'tpl/dispatch_jump.tpl',
-
- 'exception_tmpl' => Env::get('root_path') . 'think_exception.tpl',
-
- 'error_message' => '页面错误!请稍后再试~',
-
- 'show_error_msg' => false,
-
- 'exception_handle' => '',
-
- 'max_upload_file_size' => 200*1024*1024,
-
- 'max_upload_img' => [
- 'size' => 5*1024*1024,
- 'ext' => 'jpg,png,jpeg'
- ],
-
- 'sms_config' => [
- 'qx_corpid' => '',
- 'qx_pwd' => '',
- 'name' => '肿瘤医院'
- ],
-
- 'encryption_key' => 'N2U0O1D9A0J5JLWY',
- 'gdkey' => '090bb76e4a23ca73a35f03752dadc1cb',
- 'gdsecret' => 'eadeb2a9e5185fac21e72caaffd68da1',
- 'max_send_sms' => 5,
- 'jpush' => [
- 'appkey' => '879bc5b1762b667c7af95133',
- 'mastersecret' => '05e4a318f44b44c2c955b959'
- ],
- 'ucode' => 'jlwyn',
- 'visit_url' => '/wap/visitor/#/pages/index/add?orgId=',
- 'shop_url' => config("app.app_host").'/wap/shop',
- 'ph_url' => '/wap/ph',
- 'screen_url' => config("app.app_host").'/wap/screen/#',
- 'xshop_url' => 'http://******/xshop',
- 'machine_admin' => [
- 'id' => '999999999',
- 'name' => '超级管理员',
- 'card' => '9999999999'
- ],
- 'hwsms' => [
- 'account' => '',
- 'password' => '',
- 'sign' => '',
- 'ip' => '139.9.32.119',
- 'port' => 18312,
- 'templateId' => 'SMS_21113000020'
- ],
- 'reissue_count' => 5,
- 'reissue_day' => 31,
-
- 'wx_mini_config' => [
- 'app_id' => 'wx5e9b589db64ca5b2',
- 'secret' => '16f6156c87d628a255df26acac9a202c',
-
-
- 'response_type' => 'array',
- 'log' => [
- 'level' => 'error',
- 'file' => env('runtime_path').'/log/wechat.log',
- ],
- ],
-
-
- 'wx_config' => [
- 'app_id' => 'wx98c5fd5111be3125',
- 'secret' => '0f6b3f1eb5198b0e89cff977d67c3740',
- 'mch_id' => '',
- 'key' => '',
-
- 'cert_path' => env('root_path').'public/certs/apiclient_cert.pem',
- 'key_path' => env('root_path').'public/certs/apiclient_key.pem',
-
-
- 'response_type' => 'array',
- 'log' => [
- 'level' => 'error',
- 'file' => env('runtime_path').'/log/wechat.log',
- ],
- ],
- 'weather_key'=>'125cc579816bceb875b413794c2b13d4',
-
- 'login_throttles' => [
- 'enabled' => true,
- 'time' => 1*60,
- 'attempts' => 5,
- 'lock' => 30*60
- ],
-
- 'addr_url' => request()->domain().'/h5/repair/index?code=',
-
- 'max_upload_excel' => [
- 'size' => 30*1024*1024,
- 'ext' => 'xls,xlsx',
- ],
- 'security_app' => [
- 'id' => '',
- 'secret' => ''
- ],
- ];
|