|
- package hdl
-
- import (
- "applet/app/comm/e"
- "applet/app/operator/md"
- "applet/app/operator/svc"
- "github.com/gin-gonic/gin"
- )
-
- func Login(c *gin.Context) {
- svc.Login(c)
- }
- func FastLogin(c *gin.Context) {
- var args md.RegisterReq
- if err := c.ShouldBindJSON(&args); err != nil {
- e.OutErr(c, e.ERR_INVALID_ARGS)
- return
- }
- svc.Register(c, args)
- }
- func Sms(c *gin.Context) {
- svc.Sms(c)
- }
- func Base(c *gin.Context) {
-
- }
|