forked from ixre/go2o
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.conf
executable file
·61 lines (52 loc) · 1.16 KB
/
app.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#------------------------#
###### 系统配置 ########
#------------------------#
# 根域名
domain = go2o-dev.56x.netx
# URL Hash
url_hash = to2net
#静态服务器
static_server = /static
#图片服务器
image_server = /image
#------------------------#
###### 数据库配置 #######
#------------------------#
#数据库驱动
db_driver = postgresql
#数据库服务器地址
db_server= 127.0.0.1
#数据库端口
db_port = 5432
#数据库名称
db_name = go2o
#数据库用户
db_user = postgres
#数据库密码
db_pwd = 123456
#数据库编码
db_charset = utf8
#** REDIS 配置 **
redis_host = 127.0.0.1
redis_port = 6379
redis_db = 1
redis_auth =
redis_maxIdle = 10000
#0表示永不超时
redis_idleTimeout = 0
#** 接口配置 **
api_require_version = 1.0.0
api_user = go2o
api_secret = 123456
#------------------------#
###### 支付配置 ########
#------------------------#
payment_alipay_partner=2088121798191023
payment_alipay_key=3377boh82z0ayhhysvjmvr0iac27011m
#** 邮箱配置 **
smtp_host = smtp.sina.com
smtp_port = 25
smtp_from = [email protected]
smtp_user = [email protected]
smtp_pwd = jiaxinlove131409