初始化
This commit is contained in:
24
api/lead/v1/lead.go
Normal file
24
api/lead/v1/lead.go
Normal 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{}
|
||||
Reference in New Issue
Block a user