23 lines
449 B
Go
23 lines
449 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// ReferralBind POST /api/referral/bind
|
|
func ReferralBind(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// ReferralData GET /api/referral/data
|
|
func ReferralData(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// ReferralVisit POST /api/referral/visit
|
|
func ReferralVisit(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|