fix: deauthorize some apis

This commit is contained in:
RockYang
2023-07-27 10:53:14 +08:00
parent ae79c34508
commit 4a3c133152
3 changed files with 5 additions and 5 deletions

View File

@@ -25,8 +25,8 @@ func NewSmsHandler(app *core.AppServer, db *store.LevelDB, sms *service.AliYunSm
return handler
}
// VerifyCode 发送验证码短信
func (h *SmsHandler) VerifyCode(c *gin.Context) {
// SendCode 发送验证码短信
func (h *SmsHandler) SendCode(c *gin.Context) {
var data struct {
Mobile string `json:"mobile"`
Key string `json:"key"`