初始提交:一场soul的创业实验-永平 网站与小程序
Made-with: Cursor
This commit is contained in:
22
soul-api/internal/handler/admin_extra.go
Normal file
22
soul-api/internal/handler/admin_extra.go
Normal file
@@ -0,0 +1,22 @@
|
||||
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})
|
||||
}
|
||||
Reference in New Issue
Block a user