123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?php
- if (!defined("CACHE_HOST")) {
- define("CACHE_HOST", '127.0.0.1');
- }
- if (!defined("CACHE_PASSWORD")) {
- define("CACHE_PASSWORD", '');
- }
- return [
- "CURRENCY_NAME" => '平台币',
- "GM_CURRENCY_NAME" => '游戏币',
- 'ptb_rmb_rate' => 1,
- 'gm_rmb_rate' => 1,
- 'gold_rmb_rate' => 100,
- 'app_app_id' => 100,
- 'CPAUTHCODE' => '48a77tuc2b7rnc47',
- 'record_trace' => true,
- 'G_OA_EN' => 0,
- 'G_TOUTIAO_EN' => 0,
- 'G_BAIDU_EN' => 0,
- 'G_UC_EN' => 0,
- 'G_HEARTBEAT_TIME' => 120,
- 'IDENTIFY_QUEUE' => true,
- 'ORDER_REPEAT_QUEUE' => true,
- 'cache' => [
-
- 'type' => 'complex',
-
- 'file' => [
-
- 'type' => 'File',
-
- 'path' => CACHE_PATH,
- ],
-
- 'default' => [
-
- 'type' => 'redis',
-
- 'host' => CACHE_HOST,
- 'port' => 6379,
- 'password' => CACHE_PASSWORD,
- 'select' => 2,
- 'timeout' => 86400,
- 'expire' => 86400,
- 'persistent' => false,
- 'prefix' => 'mp',
- ],
- ],
-
-
-
- 'cookie' => [
-
- 'prefix' => 'mp',
-
- 'expire' => 0,
-
- 'path' => '/',
-
- 'domain' => DOCDOMAIN,
-
- 'secure' => false,
-
- 'httponly' => '',
-
- 'setcookie' => true,
- ],
-
-
-
- 'session' => [
- 'id' => '',
-
- 'var_session_id' => '',
- 'name' => 'HUOSHUID',
- 'domain' => DOCDOMAIN,
-
- 'prefix' => 'mp',
- 'expire' => '86400',
-
- 'type' => 'redis',
-
- 'auto_start' => true,
-
- 'host' => CACHE_HOST,
-
- 'port' => 6379,
-
- 'password' => CACHE_PASSWORD,
- ],
- 'js_version' => APP_DEBUG ? time() : 1.0,
-
- 'captcha' => [
-
- 'codeSet' => '234567891',
-
- 'fontSize' => 25,
-
- 'useCurve' => true,
-
- 'imageH' => 30,
-
- 'imageW' => 100,
-
- 'length' => 5,
-
- 'reset' => true
- ],
- 'view_replace_str' => [
- '__ROOT__' => '/',
- '__STATIC__' => STATICSITE.'',
- '__CSS__' => STATICSITE.'/css',
- '__JS__' => STATICSITE.'/js',
- ],
-
-
-
- 'queue' => [
-
- 'connector' => 'Redis',
- 'expire' => null,
- 'default' => 'default',
- 'host' => CACHE_HOST,
- 'port' => 6379,
- 'password' => CACHE_PASSWORD,
- 'select' => 2,
- 'timeout' => 0,
- 'persistent' => false,
- ],
-
-
-
-
- 'log' => [
-
- 'type' => 'file',
-
- 'level' => ['error', 'queue'],
-
- 'apart_level' => ['sql', 'error', 'queue', 'wechat'],
- ],
- 'filesystem' => [
- 'default' => 'oss',
- 'oss' => [
- 'accessId' => '',
- 'accessSecret' => '',
- 'bucket' => '',
- 'endpoint' => 'https://oss-cn-shenzhen.aliyuncs.com',
-
-
-
-
- ],
- ],
-
- 'identify_conf' => [
- 'default' => 'alipay',
- 'weixin' => [
- 'SECRET_ID' => '',
- 'SECRET_KEY' => '',
- 'API_FROM' => 2
- ],
- 'alipay' => [
- 'APP_KEY' => '',
- 'APP_SECRET' => '',
- 'APP_CODE' => ''
- ],
- 'fcmgame_ai_prefix' => 'bg',
- ],
- ];
|