数据库配置.env
1 APP_DEBUG = true 2 APP_ENV = dev 3 ALLOW_CROSS_DOMAIN = 127.0.0.1,localhost 4 5 [APP] 6 DEFAULT_TIMEZONE = Asia/Shanghai 7 NAME = xxxx监管平台 8 9 [DATABASE] 10 TYPE = mysql 11 HOSTNAME = 127.0.0.1 12 DATABASE = localhost 13 USERNAME = root 14 PASSWORD = 123456 15 HOSTPORT = 3306 16 CHARSET = utf8 17 DEBUG = true 18 19 [WECHAT] 20 APPID = wxf4d1f820f64eb65ax 21 APPSECRET = f9b470e5b9a86097f1a404633b94d09x 22 23 [UCENTER] 24 HOST = http://xxx.skyl 25 APPKEY = 8de262ac7fa7fa1ex 26 APPSECRET = 4f856acd676f8c8ede95756b553504d7x 27 28 [REDIS] 29 HOSTNAME = 127.0.0.1 30 PASSWORD = 31 HOSTPORT = 16379 32 EXPIRE = 0 33 TIMEOUT = 0 34 PREFIX = wjx: 35 36 [CACHE] 37 DEIVER = file 38 39 [QUEUE] 40 TYPE = redis 41 REDIS_HOST = 127.0.0.1 42 REDIS_PORT = 16379 43 44 [LANG] 45 default_lang = zh-cn 46 47 [MESSAGE] 48 IP = xxx.c49 PORT = 20202 50 ACCOUNT = 130xxxx9949 51 PASSWORD = 123456 52 53 [DOMAIN] 54 BACKEND_API = xxx.c55 PANOVS_API = xxx.c56 OPEN_API = xx.c57 DATA_CENTER = xxx.c
作者:糖粿
来源:博客园
转载请注明原文链接:https://www.cnblogs.com/silen0119/p/16139097.html
声援博主: 如果您觉得文章对您有帮助,可以点击文章右下角【推荐】一下。