Skip to content

Commit 04111d1

Browse files
committed
增加configuration.dev.json
1 parent 5352b42 commit 04111d1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ dist
88
debug
99
wemall
1010
sdk
11+
configuration.json
1112
configuration.prod.json
1213
DESIGN.md

configuration.json configuration.dev.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"weApp": {
4848
/*code换取session_key*/
4949
"CodeToSessURL" : "https://api.weixin.qq.com/sns/jscode2session?appid={appid}&secret={secret}&js_code={code}&grant_type=authorization_code",
50-
"AppID" : "", /*小程序ID*/
51-
"Secret" : "" /*小程序密钥*/
50+
"AppID" : "wx938a0628ec2c8fff", /*小程序ID*/
51+
"Secret" : "937fe84056f7fbb0acb19795e8cad6e8" /*小程序密钥*/
5252
},
5353
"software": {
5454
"name" : "wemall微商城", /*软件名称*/

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ func main() {
6969
})
7070

7171
app.Listen(":" + strconv.Itoa(config.ServerConfig.Port))
72-
}
72+
}

0 commit comments

Comments
 (0)