修改 aliyun,短信,oss,验证码

This commit is contained in:
chy
2025-06-24 16:22:18 +08:00
parent b02ad91118
commit 8342c92247
21 changed files with 219 additions and 128 deletions

12
api/verify/v1/verify.go Normal file
View 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
View 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)
}