to:sync
This commit is contained in:
parent
ea60ef4b4d
commit
c2f307b3f7
14
main.go
14
main.go
@ -44,22 +44,22 @@ func main() {
|
||||
//健康检测
|
||||
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("/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("/v1/subscribeEmail", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||
e.GET("/v1/unsubscribeEmail", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||
e.GET("/v1/subscribeTopic", func(c echo.Context) error { return c.JSON(http.StatusOK, "ok") })
|
||||
e.GET("/v1/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
|
||||
apps.InitUserGroup(e.Group("/user/v1/"))
|
||||
apps.InitUserGroup(e.Group("/v1/user/"))
|
||||
|
||||
apps.InitStaticGroup(e.Group("/static/v1/"))
|
||||
apps.InitStaticGroup(e.Group("/v1/static/"))
|
||||
|
||||
//ai
|
||||
apps.InitAiGroup(e.Group("/ai/v1/", func(next echo.HandlerFunc) echo.HandlerFunc {
|
||||
apps.InitAiGroup(e.Group("/v1/ai/", func(next echo.HandlerFunc) echo.HandlerFunc {
|
||||
return func(c echo.Context) error {
|
||||
c.Set(constant.BizId, constant.BizIdAI)
|
||||
return next(c)
|
||||
|
@ -21,7 +21,7 @@
|
||||
body {
|
||||
align-items: center;
|
||||
background-color: var(--white);
|
||||
background: url("/static/v1/img/003.jpeg");
|
||||
background: url("/v1/static/img/003.jpeg");
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
@ -104,7 +104,7 @@ body {
|
||||
|
||||
.overlay {
|
||||
background-color: var(--lightblue);
|
||||
background: url("/static/v1/img/003.jpeg");
|
||||
background: url("/v1/static/img/003.jpeg");
|
||||
background-attachment: fixed;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
|
@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" href="/static/v1/css/login.css">
|
||||
<link rel="stylesheet" href="/v1/static/css/login.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container right-panel-active">
|
||||
|
Loading…
x
Reference in New Issue
Block a user