修改 aliyun,短信,oss,验证码
This commit is contained in:
12
api/verify/v1/verify.go
Normal file
12
api/verify/v1/verify.go
Normal file
@ -0,0 +1,12 @@
|
||||
package v1
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
type VerifyReq struct {
|
||||
g.Meta `path:"/verify" method:"post" tags:"Verify" summary:"验证"`
|
||||
VerifySign string `json:"verifySign" v:"required#验签不能为空" dc:"验签"`
|
||||
}
|
||||
|
||||
type VerifyRes struct {
|
||||
Response interface{} `json:"response" dc:"返回结果"`
|
||||
}
|
||||
15
api/verify/verify.go
Normal file
15
api/verify/verify.go
Normal file
@ -0,0 +1,15 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package verify
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"server/api/verify/v1"
|
||||
)
|
||||
|
||||
type IVerifyV1 interface {
|
||||
Verify(ctx context.Context, req *v1.VerifyReq) (res *v1.VerifyRes, err error)
|
||||
}
|
||||
Reference in New Issue
Block a user