初始化

This commit is contained in:
2026-07-18 05:58:41 +08:00
commit e4b95eb05e
69 changed files with 2289 additions and 0 deletions

24
api/lead/v1/lead.go Normal file
View File

@@ -0,0 +1,24 @@
package v1
import "github.com/gogf/gf/v2/frame/g"
// CreateReq 是官网咨询线索创建请求。
type CreateReq struct {
g.Meta `path:"/api/leads" tags:"线索" method:"post" summary:"创建官网咨询线索"`
Name string `json:"name" dc:"联系人姓名"`
Phone string `json:"phone" dc:"联系电话"`
ClinicName string `json:"clinic_name" dc:"诊所名称"`
City string `json:"city" dc:"所在城市"`
PlanCode string `json:"plan_code" dc:"意向套餐编码"`
SourcePage string `json:"source_page" dc:"来源页面"`
Remark string `json:"remark" dc:"备注"`
}
type CreateRes struct{}
// AdminListReq 是后台线索列表请求。
type AdminListReq struct {
g.Meta `path:"/api/admin/leads" tags:"后台线索" method:"get" summary:"获取后台线索列表"`
}
type AdminListRes struct{}