23 lines
495 B
Go
23 lines
495 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// AdminContent GET/POST/PUT/DELETE /api/admin/content
|
|
func AdminContent(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// AdminPayment GET/POST/PUT/DELETE /api/admin/payment
|
|
func AdminPayment(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// AdminReferral GET/POST/PUT/DELETE /api/admin/referral
|
|
func AdminReferral(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|