send country code in ws, update profile api (#22)

* send country code in ws

* make ddns_profiles optional field

* update profile api
This commit is contained in:
UUBulb authored and GitHub committed 2024-11-26 21:30:56 +08:00
1 parent 07989705d2
commit e90941f52b
6 files changed
+62 -10

No files matched your search

+1
View File
@@ -74,6 +74,7 @@ func routers(r *gin.Engine) {
auth.GET("/ws/file/:id", commonHandler(fmStream))
auth.GET("/profile", commonHandler(getProfile))
auth.POST("/profile", commonHandler(updateProfile))
auth.GET("/user", commonHandler(listUser))
auth.POST("/user", commonHandler(createUser))
auth.POST("/batch-delete/user", commonHandler(batchDeleteUser))