YouChuKoffee/app/http/controllers/front/UserController.go

15 lines
320 B
Go

package front
import (
"github.com/gin-gonic/gin"
"qteam/app/http/controllers"
"qteam/app/http/entities/front"
"qteam/app/services"
)
func UnionLogin(c *gin.Context) {
req := controllers.GetRequest(c).(*front.UnionLoginRequest)
code, login := services.YouChuLogin(req)
controllers.HandCodeRes(c, login, code)
}