@@ -29,8 +29,8 @@ func GetOfficialConfig() *officialAccount.UserConfig {
29
29
Log : officialAccount.Log {
30
30
Level : "debug" ,
31
31
Stdout : false ,
32
- File : "/Users/michaelhu /wechat/official-account/info.log" ,
33
- Error : "/Users/michaelhu /wechat/official-account/error.log" ,
32
+ File : "~ /wechat/official-account/info.log" ,
33
+ Error : "~ /wechat/official-account/error.log" ,
34
34
},
35
35
Http : officialAccount.Http {
36
36
ProxyURI : "" ,
@@ -59,8 +59,8 @@ func GetWorkConfig() *work.UserConfig {
59
59
Level : "debug" ,
60
60
//File: "./wechat/info.log",
61
61
//Error: "./wechat/error.log",
62
- File : "/Users/michaelhu /wechat/work/info.log" ,
63
- Error : "/Users/michaelhu /wechat/work/error.log" ,
62
+ File : "~ /wechat/work/info.log" ,
63
+ Error : "~ /wechat/work/error.log" ,
64
64
ENV : os .Getenv ("work.env" ),
65
65
},
66
66
@@ -107,8 +107,8 @@ func GetPaymentConfig() *payment.UserConfig {
107
107
Level : "debug" ,
108
108
//File: "./wechat/info.log",
109
109
//Error: "./wechat/error.log",
110
- File : "/Users/michaelhu /wechat/payment/info.log" ,
111
- Error : "/Users/michaelhu /wechat/payment/error.log" ,
110
+ File : "~ /wechat/payment/info.log" ,
111
+ Error : "~ /wechat/payment/error.log" ,
112
112
},
113
113
Http : payment.Http {
114
114
Timeout : 30.0 ,
@@ -141,8 +141,8 @@ func GetMiniProgramConfig() *miniProgram.UserConfig {
141
141
ResponseType : os .Getenv ("array" ),
142
142
Log : miniProgram.Log {
143
143
Level : "debug" ,
144
- File : "/Users/michaelhu /wechat/mini-program/info.log" ,
145
- Error : "/Users/michaelhu /wechat/mini-program/error.log" ,
144
+ File : "~ /wechat/mini-program/info.log" ,
145
+ Error : "~ /wechat/mini-program/error.log" ,
146
146
},
147
147
Cache : kernel .NewRedisClient (& kernel.UniversalOptions {
148
148
Addrs : []string {"127.0.0.1:6379" },
@@ -170,8 +170,8 @@ func GetOpenPlatformConfig() *openPlatform.UserConfig {
170
170
Level : "debug" ,
171
171
//File: "./wechat/info.log",
172
172
//Error: "./wechat/error.log",
173
- File : "/Users/michaelhu /wechat/platform/info.log" ,
174
- Error : "/Users/michaelhu /wechat/platform/error.log" ,
173
+ File : "~ /wechat/platform/info.log" ,
174
+ Error : "~ /wechat/platform/error.log" ,
175
175
},
176
176
Cache : kernel .NewRedisClient (& kernel.UniversalOptions {
177
177
Addrs : []string {"127.0.0.1:6379" },
0 commit comments