Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArgsCreate ¶
type ArgsCreate struct { //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id"` //客户姓名 Name string `db:"name" json:"name" check:"name"` //客户联系地址组件 Address CoreSQLAddress.FieldsAddress `db:"address" json:"address" check:"address_data" empty:"true"` //留言信息 Msg string `db:"msg" json:"msg" check:"des" min:"1" max:"1000" empty:"true"` //扩展参数 Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params" check:"params" empty:"true"` }
ArgsCreate 创建新记录参数
type ArgsDelete ¶
type ArgsDelete struct { //ID ID int64 `db:"id" json:"id" check:"id"` //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id"` }
ArgsDelete 删除记录参数
type ArgsGetByID ¶
type ArgsGetByID struct { //ID ID int64 `db:"id" json:"id" check:"id"` //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id"` }
ArgsGetByID 获取ID参数
type ArgsGetList ¶
type ArgsGetList struct { //分页 Pages CoreSQLPages.ArgsDataList `json:"pages"` //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id"` //是否删除 IsRemove bool `db:"is_remove" json:"isRemove" check:"bool"` //搜索 Search string `json:"search" check:"search" empty:"true"` }
ArgsGetList 获取列表参数
type FieldsProfile ¶
type FieldsProfile struct { //ID ID int64 `db:"id" json:"id"` //创建时间 CreateAt time.Time `db:"create_at" json:"createAt"` //删除时间 DeleteAt time.Time `db:"delete_at" json:"deleteAt"` //组织ID OrgID int64 `db:"org_id" json:"orgID"` //客户姓名 Name string `db:"name" json:"name"` //客户联系地址组件 Address CoreSQLAddress.FieldsAddress `db:"address" json:"address"` //留言信息 Msg string `db:"msg" json:"msg"` //扩展参数 Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"` }
FieldsProfile 客户留存资料信息
func GetList ¶
func GetList(args *ArgsGetList) (dataList []FieldsProfile, dataCount int64, err error)
GetList 获取列表
Click to show internal directories.
Click to hide internal directories.