You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/internal/cms_api/admin/admin.go

25 lines
516 B

3 years ago
package admin
import (
"net/http"
"github.com/gin-gonic/gin"
)
// register
3 years ago
func AdminLogin(c *gin.Context) {
3 years ago
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
}
3 years ago
func AdminRegister(c *gin.Context) {
3 years ago
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
}
3 years ago
func GetAdminSettings(c *gin.Context) {
3 years ago
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
}
3 years ago
func AlterAdminSettings(c *gin.Context) {
3 years ago
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
}