add api validation signature

This commit is contained in:
landaiqing
2024-09-28 00:20:13 +08:00
parent 03c5b92515
commit bd2e8b8f6c
14 changed files with 173 additions and 34 deletions

View File

@@ -0,0 +1,7 @@
package dto
type SmsRequest struct {
Phone string `json:"phone" binding:"required"`
Angle int64 `json:"angle" binding:"required"`
Key string `json:"key" binding:"required"`
}