Commit bc7ca581 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

fix: typo

parent 1d123c40
Pipeline #625 failed with stages
......@@ -3,6 +3,6 @@ curl -X POST http://127.0.0.1:8080/api/v1/subscribe -d '{"email": "12@qq.com"}'
{"code":0,"error":""}
```
```
curl -X POST http://127.0.0.1:8080/api/v1/concat -d '{"email": "12@qq.com", "name": "bob", "message": "testmessage"}'
curl -X POST http://127.0.0.1:8080/api/v1/contact -d '{"email": "12@qq.com", "name": "bob", "message": "testmessage"}'
{"code":0,"error":""}
```
\ No newline at end of file
......@@ -21,7 +21,7 @@ func main() {
e.Use(cors.New(_cors))
e.POST("/api/v1/subscribe", userSubscribe)
e.POST("/api/v1/concat", userContactUs)
e.POST("/api/v1/contact", userContactUs)
e.Run(config.Listen)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment