33 lines
789 B
Go
33 lines
789 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// MiniprogramLogin POST /api/miniprogram/login
|
|
func MiniprogramLogin(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// MiniprogramPay GET/POST /api/miniprogram/pay
|
|
func MiniprogramPay(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// MiniprogramPayNotify POST /api/miniprogram/pay/notify
|
|
func MiniprogramPayNotify(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// MiniprogramPhone POST /api/miniprogram/phone
|
|
func MiniprogramPhone(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|
|
|
|
// MiniprogramQrcode POST /api/miniprogram/qrcode (Next 为 POST)
|
|
func MiniprogramQrcode(c *gin.Context) {
|
|
c.JSON(http.StatusOK, gin.H{"success": true})
|
|
}
|