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

15 lines
320 B
Go
Raw Normal View History

2024-06-17 16:29:39 +08:00
package front
2024-06-19 18:32:34 +08:00
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)
}