2023-03-27

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-03-26 22:21:33 +08:00
parent c4da6c74f8
commit 966606afc2
19 changed files with 804 additions and 77 deletions
+3
View File
@@ -43,6 +43,9 @@ func main() {
r.POST("/main.php/announce/checkState", handler.AnnounceCheckStateHandler)
r.POST("/main.php/scenario/startup", handler.ScenarioStartupHandler)
r.POST("/main.php/user/setNotificationToken", handler.SetNotificationTokenHandler)
r.POST("/main.php/user/changeNavi", handler.SetNotificationTokenHandler)
r.POST("/main.php/event/eventList", handler.EventListHandler)
r.POST("/main.php/payment/productList", handler.ProductListHandler)
r.Run(":8080") // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
}