蛋蛋星球 后台端
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.

hdl_base.go 1.2 KiB

4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
1234567891011121314151617181920212223242526272829303132333435
  1. package user_real_name
  2. import (
  3. "applet/app/svc/user_real_name"
  4. "github.com/gin-gonic/gin"
  5. )
  6. // Base
  7. // @Summary 基本设置-实名认证-基本配置
  8. // @Tags 基本设置
  9. // @Description 基本设置-实名认证
  10. // @Accept json
  11. // @Produce json
  12. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  13. // @Success 200 {object} md.UserRealNameBaseResp "具体数据"
  14. // @Failure 400 {object} md.Response "具体错误"
  15. // @Router /api/userRealName/base [get]
  16. func Base(c *gin.Context) {
  17. user_real_name.Base(c)
  18. }
  19. // BaseSave
  20. // @Summary 基本设置-实名认证-基本配置保存
  21. // @Tags 基本设置
  22. // @Description 基本设置-实名认证-基本配置保存
  23. // @Accept json
  24. // @Produce json
  25. // @param Authorization header string true "验证参数Bearer和token空格拼接"
  26. // @Param req body md.UserRealNameBaseResp true "(分页信息必填)"
  27. // @Success 200 {string} "具体数据"
  28. // @Failure 400 {object} md.Response "具体错误"
  29. // @Router /api/userRealName/base/save [post]
  30. func BaseSave(c *gin.Context) {
  31. user_real_name.BaseSave(c)
  32. }