智慧食堂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
607 B

  1. package hdl
  2. import (
  3. "applet/app/admin/lib/validate"
  4. "applet/app/customer/md"
  5. "applet/app/customer/svc"
  6. "applet/app/e"
  7. "github.com/gin-gonic/gin"
  8. )
  9. func CurlAlipayPlanetEcocampusApiRosterSignUpInfo(c *gin.Context) {
  10. var req md.CurlAlipayPlanetEcocampusApiRosterSignUpInfoReq
  11. err := c.ShouldBindJSON(&req)
  12. if err != nil {
  13. err = validate.HandleValidateErr(err)
  14. err1 := err.(e.E)
  15. e.OutErr(c, err1.Code, err1.Error())
  16. return
  17. }
  18. err, resp := svc.CurlAlipayPlanetEcocampusApiRosterSignUpInfo(req)
  19. if err != nil {
  20. e.OutErr(c, e.ERR, err.Error())
  21. return
  22. }
  23. e.OutSuc(c, resp, nil)
  24. return
  25. }