劲创营---任务项目
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

27 lignes
422 B

  1. package hdl
  2. import (
  3. "applet/app/comm/e"
  4. "applet/app/operator/md"
  5. "applet/app/operator/svc"
  6. "github.com/gin-gonic/gin"
  7. )
  8. func Login(c *gin.Context) {
  9. svc.Login(c)
  10. }
  11. func FastLogin(c *gin.Context) {
  12. var args md.RegisterReq
  13. if err := c.ShouldBindJSON(&args); err != nil {
  14. e.OutErr(c, e.ERR_INVALID_ARGS)
  15. return
  16. }
  17. svc.Register(c, args)
  18. }
  19. func Sms(c *gin.Context) {
  20. svc.Sms(c)
  21. }
  22. func Base(c *gin.Context) {
  23. }