2022-01-21 18:39:57 +08:00
|
|
|
package admin
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// register
|
2022-01-27 18:31:31 +08:00
|
|
|
func AdminLogin(c *gin.Context) {
|
2022-01-21 18:39:57 +08:00
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
|
}
|
|
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
func AdminRegister(c *gin.Context) {
|
2022-01-21 18:39:57 +08:00
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
|
}
|
|
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
func GetAdminSettings(c *gin.Context) {
|
2022-01-21 18:39:57 +08:00
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
|
}
|
|
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
func AlterAdminSettings(c *gin.Context) {
|
2022-01-21 18:39:57 +08:00
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
|
}
|