owenliang/go-push

windows环境下需要注意的问题

123wyc opened this issue · 0 comments

1.读取gateway.json和logic.json的路径需要做出修改:
./gateway.json ==>gateway/cli/gateway.json
./logic.josn ==> logic/cli/logic.json
2.gateway.json中读取证书的路径需要作出修改:
./default.pem ==>gateway/cli/default.pem
3.curl 时需注意在windows环境下的写法为:
curl http://localhost:7799/push/all -d "items=[{"msg": "hi"},{"msg": "bye"}]"