to:sync
This commit is contained in:
parent
c5226d4d8d
commit
81033928f6
9
main.go
9
main.go
@ -44,7 +44,14 @@ func main() {
|
|||||||
//健康检测
|
//健康检测
|
||||||
e.GET("/health", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
e.GET("/health", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||||
e.GET("/name", func(c echo.Context) error { return c.JSON(http.StatusOK, "wx-server") })
|
e.GET("/name", func(c echo.Context) error { return c.JSON(http.StatusOK, "wx-server") })
|
||||||
e.GET("/WW_verify_aMVgO6pcg3RRrMvk.txt", func(c echo.Context) error { return c.String(http.StatusOK, "aMVgO6pcg3RRrMvk") })
|
e.GET("/subscribeEmail", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||||
|
e.GET("/unsubscribeEmail", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||||
|
e.GET("/subscribeTopic", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||||
|
e.GET("/unsubscribeTopic", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||||
|
e.GET("/WW_verify_aMVgO6pcg3RRrMvk.txt", func(c echo.Context) error {
|
||||||
|
//c.Response().Header().Set("Content-Type", "image/gif")
|
||||||
|
return c.String(http.StatusOK, "aMVgO6pcg3RRrMvk")
|
||||||
|
})
|
||||||
|
|
||||||
//user
|
//user
|
||||||
apps.InitUserGroup(e.Group("/user/v1/"))
|
apps.InitUserGroup(e.Group("/user/v1/"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user