Documentation
¶
Index ¶
- func AddPost(c *gin.Context)
- func AddThread(c *gin.Context)
- func AddUser(c *gin.Context)
- func AddUser2(c *gin.Context)
- func AddthreadAttach(c *gin.Context)
- func Addthreadfavourite(c *gin.Context)
- func CheckEmailUsed(c *gin.Context)
- func CheckNameUsed(c *gin.Context)
- func CheckPhoneUsed(c *gin.Context)
- func CkeditorUpload(c *gin.Context)
- func CloseThreads(c *gin.Context)
- func DeleteAttach(c *gin.Context)
- func DeleteThreads(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func DelthreadAttach(c *gin.Context)
- func EditUser(c *gin.Context)
- func GetCapacha(c *gin.Context)
- func GetUser(c *gin.Context)
- func IsEmailChecked(c *gin.Context)
- func LikePost(c *gin.Context)
- func MoveThreads(c *gin.Context)
- func RefreshToken(c *gin.Context)
- func ResetUserAvatar(c *gin.Context)
- func ResetUserName(c *gin.Context)
- func ResetUserPassword(c *gin.Context)
- func SendRegisterMail(c *gin.Context)
- func SendResetPasswordEmail(c *gin.Context)
- func TestDelSesssion(c *gin.Context)
- func TestEncyPasscheck(c *gin.Context)
- func TestGetSesssion(c *gin.Context)
- func TestSetSesssion(c *gin.Context)
- func TopThreads(c *gin.Context)
- func UpdatePost(c *gin.Context)
- func UpdateThread(c *gin.Context)
- func UploadAddAttach(c *gin.Context)
- func UploadAttach(c *gin.Context)
- func UploadFile(c *gin.Context)
- func UserLogin(c *gin.Context)
- func UserLogout(c *gin.Context)
- func UserResetPassword(c *gin.Context)
- func VerfiyCaptcha(c *gin.Context)
- type Tids
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Addthreadfavourite ¶
收藏--取消收藏 直接添加到表中,因为以及各有了帖子 所以可以直接添加
func CkeditorUpload ¶
func CloseThreads ¶
func DeleteThreads ¶
func GetCapacha ¶
func IsEmailChecked ¶
func MoveThreads ¶
func ResetUserAvatar ¶
func ResetUserName ¶
func ResetUserPassword ¶
func SendRegisterMail ¶
func SendResetPasswordEmail ¶
func TestDelSesssion ¶
func TestEncyPasscheck ¶
func TestGetSesssion ¶
func TestSetSesssion ¶
func TopThreads ¶
func UploadFile ¶
func UserLogin ¶
接受邮箱密码 验证邮箱密码都非空 根据邮箱查出用户信息 { code:400 msg:邮箱或者密码错误 data:{} } 验证密码的正确性 如果邮箱密码都对,则生成token返回客户端 { code:200 msg:登录成功
data:{ token:123123123 exptime:23432 }
}
func VerfiyCaptcha ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.