mbbc

package
v0.15.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreateDictTypeMethodName       = methodNamePrefix + "/dictType/create"
	QueryDictTypePageMethodName    = methodNamePrefix + "/dictType/query"
	DeleteDictTypeMethodName       = methodNamePrefix + "/dictType/%s/delete"
	UpdateDictTypeMethodName       = methodNamePrefix + "/dictType/update"
	GetDictTypeInfoMethodName      = methodNamePrefix + "/dictType/%s/GetDictTypeInfo"
	CreateDictDetailsMethodName    = methodNamePrefix + "/dictDetails/create"
	QueryDictDetailsPageMethodName = methodNamePrefix + "/dictDetails/query"
	DeleteDictDetailsMethodName    = methodNamePrefix + "/dictDetails/%s/delete"
	UpdateDictDetailsMethodName    = methodNamePrefix + "/dictDetails/update"
	GetDictDetailsInfoMethodName   = methodNamePrefix + "/dictDetails/%s/GetDictDetailsInfo"
	QueryDictByTypesMethodName     = methodNamePrefix + "/dictType/QueryDictByTypes"
)
View Source
const (
	CreateShardCardMethodName         = methodNamePrefix + "/shardCard/create"
	QueryShardCardPageMethodName      = methodNamePrefix + "/shardCard/query"
	DeleteShardCardMethodName         = methodNamePrefix + "/shardCard/%s/delete"
	UpdateShardCardMethodName         = methodNamePrefix + "/shardCard/update"
	GetShardCardInfoMethodName        = methodNamePrefix + "/shardCard/%s/GetShardCardInfo"
	CreateShardBlackListMethodName    = methodNamePrefix + "/shardBlackList/create"
	QueryShardBlackListPageMethodName = methodNamePrefix + "/shardBlackList/query"
	DeleteShardBlackListMethodName    = methodNamePrefix + "/shardBlackList/%s/delete"
	UpdateShardBlackListMethodName    = methodNamePrefix + "/shardBlackList/update"
	GetShardBlackListInfoMethodName   = methodNamePrefix + "/shardBlackList/%s/GetShardBlackListInfo"
	CreateShardConfigMethodName       = methodNamePrefix + "/shardConfig/create"
	QueryShardConfigPageMethodName    = methodNamePrefix + "/shardConfig/query"
	DeleteShardConfigMethodName       = methodNamePrefix + "/shardConfig/%s/delete"
	UpdateShardConfigMethodName       = methodNamePrefix + "/shardConfig/update"
	GetShardConfigInfoMethodName      = methodNamePrefix + "/shardConfig/%s/GetShardConfigInfo"
	CreateLikeDislikeMethodName       = methodNamePrefix + "/shardLike/create"
	QueryShardLikePageMethodName      = methodNamePrefix + "/shardLike/query"
	GetShardLikeInfoMethodName        = methodNamePrefix + "/shardLike/%s/GetShardLikeInfo"
	CreateShardMessageMethodName      = methodNamePrefix + "/shardMessage/create"
	QueryShardMessagePageMethodName   = methodNamePrefix + "/shardMessage/query"
	DeleteShardMessageMethodName      = methodNamePrefix + "/shardMessage/%s/delete"
	UpdateShardMessageMethodName      = methodNamePrefix + "/shardMessage/update"
	GetShardMessageInfoMethodName     = methodNamePrefix + "/shardMessage/%s/GetShardMessageInfo"
	CreateShardSaveBcMethodName       = methodNamePrefix + "/shardSaveBc/create"
	QueryShardSaveBcPageMethodName    = methodNamePrefix + "/shardSaveBc/query"
	DeleteShardSaveBcMethodName       = methodNamePrefix + "/shardSaveBc/%s/delete"
	UpdateShardSaveBcMethodName       = methodNamePrefix + "/shardSaveBc/update"
	GetShardSaveBcInfoMethodName      = methodNamePrefix + "/shardSaveBc/%s/GetShardSaveBcInfo"
	CreateShardViewMethodName         = methodNamePrefix + "/shardView/create"
	QueryShardViewPageMethodName      = methodNamePrefix + "/shardView/query"
	DeleteShardViewMethodName         = methodNamePrefix + "/shardView/%s/delete"
	UpdateShardViewMethodName         = methodNamePrefix + "/shardView/update"
	GetShardViewInfoMethodName        = methodNamePrefix + "/shardView/%s/GetShardViewInfo"
)

Variables

This section is empty.

Functions

func AddBusinessCardRemark

func AddBusinessCardRemark(params *AddBusinessCardRemarkRequest) error

func ChangeBusinessCard

func ChangeBusinessCard(params *ChangeBusinessCardRequest) error

func CreateBusinessCard

func CreateBusinessCard(params *CreateBusinessCardRequest) (string, error)

func CreateBusinessCardMemo

func CreateBusinessCardMemo(params *CreateBusinessCardMemoRequest) (string, error)

func CreateDictDetails added in v0.13.52

func CreateDictDetails(params *CreateDictDetailsRequest) (int, error)

func CreateDictType added in v0.13.52

func CreateDictType(params *CreateDictTypeRequest) (int, error)

func CreateShardBlackList added in v0.13.52

func CreateShardBlackList(params *CreateShardBlackListRequest) (string, error)

func CreateShardCard added in v0.13.52

func CreateShardCard(params *CreateShardCardRequest) (string, error)

func CreateShardConfig added in v0.13.52

func CreateShardConfig(params *CreateShardConfigRequest) (string, error)

func CreateShardMessage added in v0.13.52

func CreateShardMessage(params *CreateShardMessageRequest) (string, error)

func CreateShardSaveBc added in v0.13.52

func CreateShardSaveBc(params *CreateShardSaveBcRequest) (string, error)

func CreateShardView added in v0.13.52

func CreateShardView(params *CreateShardViewRequest) (string, error)

func DeleteBusinessCard

func DeleteBusinessCard(bcId string, userId string, newCardId string) error

func DeleteBusinessCardEntityFromHolder

func DeleteBusinessCardEntityFromHolder(params *DeleteBusinessCardEntityFromHolderQuery) error

func DeleteBusinessCardFromHolder

func DeleteBusinessCardFromHolder(params *DeleteBusinessCardFromHolderQuery) error

func DeleteBusinessCardMemo

func DeleteBusinessCardMemo(memoId string) error

func DeleteDictDetails added in v0.13.52

func DeleteDictDetails(dictDetailsId string) error

func DeleteDictType added in v0.13.52

func DeleteDictType(dictTypeId string) error

func DeleteShardBlackList added in v0.13.52

func DeleteShardBlackList(ShardBlackListId string) error

func DeleteShardCard added in v0.13.52

func DeleteShardCard(shardCardId string, userId string) error

func DeleteShardConfig added in v0.13.52

func DeleteShardConfig(ShardConfigId string) error

func DeleteShardMessage added in v0.13.52

func DeleteShardMessage(ShardMessageId string) error

func DeleteShardSaveBc added in v0.13.52

func DeleteShardSaveBc(ShardSaveBcId string) error

func DeleteShardView added in v0.13.52

func DeleteShardView(ShardViewId string) error

func Destroy

func Destroy()

func Init

func Init(baseUrl string, timeoutSec time.Duration)

func LikeDislike added in v0.13.63

func LikeDislike(params *CreateShardLikeRequest) error

func SaveBusinessCardToHolder

func SaveBusinessCardToHolder(params *SaveBusinessCardToHolderRequest) error

func SetBCDisabled added in v0.9.55

func SetBCDisabled(params *SetBCDisabledRequest) error

func UpdateBcTangentFormat

func UpdateBcTangentFormat(params *UpdateBcTangentFormatRequest) error

func UpdateBusinessCard

func UpdateBusinessCard(params *UpdateBusinessCardRequest) error

func UpdateBusinessCardMemo

func UpdateBusinessCardMemo(params *UpdateBusinessCardMemoRequest) error

func UpdateDictDetails added in v0.13.52

func UpdateDictDetails(params *UpdateDictDetailsRequest) error

func UpdateDictType added in v0.13.52

func UpdateDictType(params *UpdateDictTypeRequest) error

func UpdateShardCard added in v0.13.52

func UpdateShardCard(params *UpdateShardCardRequest) error

func UpdateShardConfig added in v0.13.52

func UpdateShardConfig(params *UpdateShardConfigRequest) error

func UpdateShardMessage added in v0.13.52

func UpdateShardMessage(params *UpdateShardMessageRequest) error

func UpdateShardSaveBc added in v0.13.52

func UpdateShardSaveBc(params *UpdateShardSaveBcRequest) error

func UpdateShardView added in v0.13.52

func UpdateShardView(params *UpdateShardViewRequest) error

func UpdateTangentBusinessCardASS added in v0.7.0

func UpdateTangentBusinessCardASS(params *UpdateTangentBusinessCardASSRequest) error

func UploadBusinessCardBackground

func UploadBusinessCardBackground(params *UploadBusinessCardBackgroundRequest) (string, string, error)

Types

type AddBusinessCardRemarkRequest

type AddBusinessCardRemarkRequest struct {
	UserID      string `json:"userId"`
	SavedUserID string `json:"saveUserId"`
	Remark      string `json:"remark"`
}

type BusinessCardHolderUsersInfo

type BusinessCardHolderUsersInfo struct {
	UserID      string `json:"userId"`
	SavedUserID string `json:"savedUserId"`
	Remark      string `json:"remark"`
}

type BusinessCardInHolderInfo

type BusinessCardInHolderInfo struct {
	Lastname string                   `json:"lastname"`
	Infos    []HolderBusinessCardInfo `json:"infos"`
}

type BusinessCardInfo

type BusinessCardInfo struct {
	ID                    string   `json:"id" binding:"required"`
	Type                  uint8    `json:"type" binding:"required"`
	Name                  string   `json:"name" binding:"required"`
	Phone                 string   `json:"phone" binding:"required"`
	Email                 string   `json:"email"`
	TangentName           string   `json:"tangentName"`
	TangentID             string   `json:"tangentId"`
	IndustryCategory      string   `json:"industryCategory"`
	Position              string   `json:"position"`
	Faith                 string   `json:"faith"`
	Introduction          string   `json:"introduction"`
	BusinessScopes        []string `json:"businessScopes"`
	Address               string   `json:"address"`
	LocationAddress       string   `json:"locationAddress"`
	Longitude             float64  `json:"longitude"`
	Latitude              float64  `json:"latitude"`
	JobTitles             []string `json:"JobTitles"`
	FontColor             string   `json:"fontColor"`
	Format                string   `json:"format"`
	Background            string   `json:"background"`
	UserId                string   `json:"userId"`
	EntityBusinessCardUrl string   `json:"entityBusinessCardUrl"`
	HideAvatar            string   `json:"hideAvatar"`
	Status                uint8    `json:"status"`
	CreateAt              string   `json:"createAt"`
}

func GetBusinessCards

func GetBusinessCards(params *GetBusinessCardsQuery) ([]BusinessCardInfo, int64, error)

func GetBusinessCardsEntityInHolder

func GetBusinessCardsEntityInHolder(params *GetBusinessCardsEntityInHolderQuery) ([]BusinessCardInfo, error)

func GetCurBusinessCard

func GetCurBusinessCard(userID string) (*BusinessCardInfo, error)

type BusinessCardRecognitionInfo

type BusinessCardRecognitionInfo struct {
	Addr    string `json:"addr"`
	Fax     string `json:"fax"`
	Mobile  string `json:"mobile"`
	Name    string `json:"name"`
	PC      string `json:"pc"`
	Url     string `json:"url"`
	Tel     string `json:"tel"`
	Company string `json:"company"`
	Title   string `json:"title"`
	ObjName string `json:"objName"`
	OssUrl  string `json:"ossUrl"`
}

func BusinessCardRecognition

func BusinessCardRecognition(photo *multipart.FileHeader) (*BusinessCardRecognitionInfo, error)

type BusinessCardsInHolder

type BusinessCardsInHolder struct {
	UserSavedInfo    *UserBusinessCard `json:"userSavedInfo"`
	BusinessCardInfo *BusinessCardInfo `json:"businessCardInfo"`
}

func GetBusinessCardsInHolder

func GetBusinessCardsInHolder(params *GetBusinessCardsInHolderQuery) ([]BusinessCardsInHolder, error)

type ChangeBusinessCardRequest

type ChangeBusinessCardRequest struct {
	UserID         string `json:"userId"`
	BusinessCardID string `json:"businessCardId"`
}

type CreateBusinessCardMemoRequest

type CreateBusinessCardMemoRequest struct {
	UserBusinessCardID string   `json:"userBusinessCardId"`
	Memo               string   `json:"memo"`
	Pics               []string `json:"pics"`
}

type CreateBusinessCardRequest

type CreateBusinessCardRequest struct {
	UserID                    string   `json:"userId" binding:"required"`
	Type                      uint8    `json:"type" binding:"required"`
	Name                      string   `json:"name" binding:"required"`
	Phone                     string   `json:"phone" binding:"required"`
	Email                     string   `json:"email"`
	TangentName               string   `json:"tangentName"`
	TangentID                 string   `json:"tangentId"`
	IndustryCategory          string   `json:"industryCategory"`
	Position                  string   `json:"position"`
	Faith                     string   `json:"faith"`
	Introduction              string   `json:"introduction"`
	BusinessScopes            []string `json:"businessScopes"`
	Address                   string   `json:"address"`
	LocationAddress           string   `json:"locationAddress"`
	Longitude                 float64  `json:"longitude"`
	Latitude                  float64  `json:"latitude"`
	Background                string   `json:"background"`
	JobTitles                 []string `json:"JobTitle"`
	FontColor                 string   `json:"fontColor"`
	Format                    string   `json:"format"`
	EntityBusinessCardObjName string   `json:"entityBusinessCardObjName"`
}

type CreateDictDetailsRequest added in v0.13.52

type CreateDictDetailsRequest struct {
	Label             string `json:"label"`
	Value             int    `json:"value"`
	Status            uint8  `json:"status"`
	Sort              int    `json:"sort"`
	DictDetailsTypeId int    `json:"dictDetailsTypeId"`
}

type CreateDictDetailsResponse added in v0.13.52

type CreateDictDetailsResponse struct {
	ID int `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateDictTypeRequest added in v0.13.52

type CreateDictTypeRequest struct {
	Name   string `json:"name"`
	Type   string `json:"type"`
	Status uint8  `json:"status"`
	Desc   string `json:"desc"`
}

type CreateDictTypeResponse added in v0.13.52

type CreateDictTypeResponse struct {
	ID int `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateShardBlackListRequest added in v0.13.52

type CreateShardBlackListRequest struct {
	UserID      string `json:"userID"`
	ShardCardId string `json:"shardCardId"`
}

type CreateShardBlackListResponse added in v0.13.52

type CreateShardBlackListResponse struct {
	ID string `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateShardCardRequest added in v0.13.52

type CreateShardCardRequest struct {
	UserID string `json:"userID"`
	BcID   string `json:"bcID"`
}

type CreateShardCardResponse added in v0.13.52

type CreateShardCardResponse struct {
	ID string `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateShardConfigRequest added in v0.13.52

type CreateShardConfigRequest struct {
	UserID         string `json:"userID"`
	SensitiveData  int    `json:"sensitiveData"`
	LeaveMessage   int    `json:"leaveMessage"`
	PersonalMoment int    `json:"personalMoment"`
}

type CreateShardConfigResponse added in v0.13.52

type CreateShardConfigResponse struct {
	ID string `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateShardLikeRequest added in v0.13.52

type CreateShardLikeRequest struct {
	ShardCardId string `json:"shardCardId"`
	UserId      string `json:"userId"`
	UserName    string `json:"userName"`
}

type CreateShardLikeResponse added in v0.13.52

type CreateShardLikeResponse struct {
	ID string `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateShardMessageRequest added in v0.13.52

type CreateShardMessageRequest struct {
	TargetMessageId string `json:"targetMessageId"`
	ShardCardId     string `json:"shardCardId"`
	Comment         string `json:"comment"`
	TargetMemberId  string `json:"targetMemberId"`
	MemberId        string `json:"memberId"`
	IsReply         uint8  `json:"isReply"`
}

type CreateShardMessageResponse added in v0.13.52

type CreateShardMessageResponse struct {
	ID string `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateShardSaveBcRequest added in v0.13.52

type CreateShardSaveBcRequest struct {
	ShardCardID string `json:"shardCardId"`
	UserID      string `json:"userId"`
	BcID        string `json:"bcId"`
	Status      uint8  `json:"status"`
}

type CreateShardSaveBcResponse added in v0.13.52

type CreateShardSaveBcResponse struct {
	ID string `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type CreateShardViewRequest added in v0.13.52

type CreateShardViewRequest struct {
	ShardCardId string `json:"shardCardId"`
	UserId      string `json:"userId"`
	UserName    string `json:"userName"`
}

type CreateShardViewResponse added in v0.13.52

type CreateShardViewResponse struct {
	ID string `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type DeleteBusinessCardEntityFromHolderQuery

type DeleteBusinessCardEntityFromHolderQuery struct {
	UserID         string `form:"userId" binding:"required"`
	BusinessCardID string `form:"businessCardId" binding:"required"`
}

type DeleteBusinessCardEntityFromHolderResponse

type DeleteBusinessCardEntityFromHolderResponse struct {
	// contains filtered or unexported fields
}

type DeleteBusinessCardFromHolderQuery

type DeleteBusinessCardFromHolderQuery struct {
	UserID             string `form:"userId" binding:"required"`
	BusinessCardUserID string `form:"businessCardUserId" binding:"required"`
	BusinessCardID     string `form:"businessCardId" binding:"required"`
}

type DeleteBusinessCardMemoResponse

type DeleteBusinessCardMemoResponse struct {
	// contains filtered or unexported fields
}

type DeleteBusinessCardQuery

type DeleteBusinessCardQuery struct {
	UserID string `form:"userId" binding:"required"`
}

type DeleteDetailsResponse added in v0.13.52

type DeleteDetailsResponse struct {
	// contains filtered or unexported fields
}

type DeleteDictResponse added in v0.13.52

type DeleteDictResponse struct {
	// contains filtered or unexported fields
}

type DeleteShardCardRequest added in v0.13.61

type DeleteShardCardRequest struct {
	UserID string `form:"userId" binding:"required"`
	ID     string `form:"id"`
}

type DeleteShardCardResponse added in v0.13.52

type DeleteShardCardResponse struct {
	// contains filtered or unexported fields
}

type DeleteShardConfigResponse added in v0.13.52

type DeleteShardConfigResponse struct {
	// contains filtered or unexported fields
}

type DeleteShardLikeResponse added in v0.13.52

type DeleteShardLikeResponse struct {
	// contains filtered or unexported fields
}

type DeleteShardMessageResponse added in v0.13.52

type DeleteShardMessageResponse struct {
	// contains filtered or unexported fields
}

type DeleteShardSaveBcResponse added in v0.13.52

type DeleteShardSaveBcResponse struct {
	// contains filtered or unexported fields
}

type DeleteShardViewResponse added in v0.13.52

type DeleteShardViewResponse struct {
	// contains filtered or unexported fields
}

type DictDetailsInfo added in v0.13.52

type DictDetailsInfo struct {
	ID                int    `json:"id"`
	Label             string `json:"label"`
	Value             int    `json:"value"`
	Status            uint8  `json:"status"`
	Sort              int    `json:"sort"`
	DictDetailsTypeId int    `json:"dictDetailsTypeId"`
}

type DictInfo added in v0.13.54

type DictInfo struct {
	ID     int               `json:"id"`
	Name   string            `json:"name"`
	Type   string            `json:"type"`
	Values []DictDetailsInfo `json:"values"`
}

func QueryDictByTypes added in v0.13.54

func QueryDictByTypes(typesStr string) ([]DictInfo, error)

type DictTypeInfo added in v0.13.52

type DictTypeInfo struct {
	ID     int    `json:"id"`
	Name   string `json:"name"`
	Type   string `json:"type"`
	Status uint8  `json:"status"`
	Desc   string `json:"desc"`
}

type GetBusinessCardHolderUsersQuery

type GetBusinessCardHolderUsersQuery struct {
	UserID      string `form:"userId" binding:"required"`
	SavedUserID string `form:"savedUserId" binding:"required"`
}

type GetBusinessCardHolderUsersResponse

type GetBusinessCardHolderUsersResponse struct {
	HolderUsers []BusinessCardHolderUsersInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

type GetBusinessCardMemosQuery

type GetBusinessCardMemosQuery struct {
	MemoId             string `json:"memoId"`
	UserBusinessCardId string `json:"userBusinessCardId"`
}

type GetBusinessCardMemosResponse

type GetBusinessCardMemosResponse struct {
	MemoInfos []MemoInfo `json:"infos"`
	// contains filtered or unexported fields
}

type GetBusinessCardsEntityInHolderQuery

type GetBusinessCardsEntityInHolderQuery struct {
	UserID string `form:"userId" binding:"required"`
}

type GetBusinessCardsEntityInHolderResponse

type GetBusinessCardsEntityInHolderResponse struct {
	Infos []BusinessCardInfo `json:"infos"`
	// contains filtered or unexported fields
}

type GetBusinessCardsInHolderQuery

type GetBusinessCardsInHolderQuery struct {
	UserID             string `form:"userId" binding:"required"`
	BusinessCardID     string `form:"businessCardId" binding:"required"`
	BusinessCardUserID string `form:"businessCardUserId" binding:"required"`
}

type GetBusinessCardsInHolderResponse

type GetBusinessCardsInHolderResponse struct {
	Infos []BusinessCardsInHolder `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

type GetBusinessCardsQuery

type GetBusinessCardsQuery struct {
	UserID           string `form:"userId" binding:"required"`
	ID               string `form:"id"`
	Type             uint8  `form:"type"`
	Name             string `form:"name"`
	Phone            string `form:"phone"`
	TangentID        string `form:"tangentId"`
	TangentName      string `form:"tangentName"`
	IndustryCategory string `form:"industryCategory"`
	Position         string `form:"position"`
	Status           uint8  `form:"status"`
	PageNo           int    `form:"pageNo"`
	PageSize         int    `form:"pageSize"`
}

type GetCurBusinessCardResponse

type GetCurBusinessCardResponse struct {
	Info *BusinessCardInfo `json:"info"`
	// contains filtered or unexported fields
}

type GetDictTypeDetailsInfoResponse added in v0.13.52

type GetDictTypeDetailsInfoResponse struct {
	Info *DictDetailsInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

type GetDictTypeInfoResponse added in v0.13.52

type GetDictTypeInfoResponse struct {
	Info *DictTypeInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetDictTypeInfo added in v0.13.52

func GetDictTypeInfo(dictTypeId string) (*GetDictTypeInfoResponse, error)

type GetShardBlackListInfoResponse added in v0.13.52

type GetShardBlackListInfoResponse struct {
	Info *ShardBlackListInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetShardBlackListInfo added in v0.13.52

func GetShardBlackListInfo(ShardBlackListId string) (*GetShardBlackListInfoResponse, error)

type GetShardCardInfoResponse added in v0.13.52

type GetShardCardInfoResponse struct {
	Info *ShardCardInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetShardCardInfo added in v0.13.52

func GetShardCardInfo(ShardCardId string) (*GetShardCardInfoResponse, error)

type GetShardConfigInfoResponse added in v0.13.52

type GetShardConfigInfoResponse struct {
	Info *ShardConfigInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetShardConfigInfo added in v0.13.52

func GetShardConfigInfo(ShardConfigId string) (*GetShardConfigInfoResponse, error)

type GetShardLikeInfoResponse added in v0.13.52

type GetShardLikeInfoResponse struct {
	Info *ShardLikeInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetShardLikeInfo added in v0.13.52

func GetShardLikeInfo(ShardLikeId string) (*GetShardLikeInfoResponse, error)

type GetShardMessageInfoResponse added in v0.13.52

type GetShardMessageInfoResponse struct {
	Info *ShardMessageInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetShardMessageInfo added in v0.13.52

func GetShardMessageInfo(ShardMessageId string) (*GetShardMessageInfoResponse, error)

type GetShardSaveBcInfoResponse added in v0.13.52

type GetShardSaveBcInfoResponse struct {
	Info *ShardSaveBcInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetShardSaveBcInfo added in v0.13.52

func GetShardSaveBcInfo(ShardSaveBcId string) (*GetShardSaveBcInfoResponse, error)

type GetShardViewInfoResponse added in v0.13.52

type GetShardViewInfoResponse struct {
	Info *ShardViewInfo `json:"info" binding:"required"`
	// contains filtered or unexported fields
}

func GetShardViewInfo added in v0.13.52

func GetShardViewInfo(ShardViewId string) (*GetShardViewInfoResponse, error)

type HolderBusinessCardInfo

type HolderBusinessCardInfo struct {
	BusinessCardInfo
	Remark string `json:"remark"`
}

type MemoInfo

type MemoInfo struct {
	ID                 string    `json:"id"`
	UserBusinessCardID string    `json:"userBusinessCardId"`
	Memo               string    `json:"memo"`
	Pics               []PicInfo `json:"pics"`
	CreateDate         time.Time `json:"createDate"`
}

func GetBusinessCardMemos

func GetBusinessCardMemos(params *GetBusinessCardMemosQuery) ([]MemoInfo, error)

type PicInfo

type PicInfo struct {
	URL     string `json:"url"`
	ObjName string `json:"objName"`
}

func UploadBusinessCardMemoImg

func UploadBusinessCardMemoImg(params *UploadBusinessCardMemoImgRequest) ([]PicInfo, error)

type QueryDictByTypesResponse added in v0.13.54

type QueryDictByTypesResponse struct {
	Infos []DictInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

type QueryDictDetailsRequest added in v0.13.52

type QueryDictDetailsRequest struct {
	Label             string `form:"label"`
	Status            uint8  `form:"status"`
	DictDetailsTypeId int    `form:"dictDetailsTypeId" binding:"required"`
	PageSize          int    `form:"pageSize"`
	PageNo            int    `form:"pageNo"`
}

type QueryDictDetailsResponse added in v0.13.52

type QueryDictDetailsResponse struct {
	PageNo     int               `json:"pageNo" binding:"required"`
	TotalCount int64             `json:"totalCount" binding:"required"`
	Infos      []DictDetailsInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func GetDictDetailsInfo added in v0.13.52

func GetDictDetailsInfo(dictDetailsId string) (*QueryDictDetailsResponse, error)

func QueryDictDetailsPage added in v0.13.52

func QueryDictDetailsPage(params *QueryDictDetailsRequest) (*QueryDictDetailsResponse, error)

type QueryDictTypePageRequest added in v0.13.52

type QueryDictTypePageRequest struct {
	Name     string `form:"name"`
	Type     string `form:"type"`
	Status   uint8  `form:"status"`
	PageNo   int    `form:"pageNo"`
	PageSize int    `form:"pageSize"`
}

type QueryDictTypeResponse added in v0.13.52

type QueryDictTypeResponse struct {
	PageNo     int            `json:"pageNo" binding:"required"`
	TotalCount int64          `json:"totalCount" binding:"required"`
	Infos      []DictTypeInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryDictTypePage added in v0.13.52

func QueryDictTypePage(params *QueryDictTypePageRequest) (*QueryDictTypeResponse, error)

type QueryShardBlackListPageRequest added in v0.13.52

type QueryShardBlackListPageRequest struct {
	UserID      string `form:"userID"`
	ShardCardId string `form:"shardCardId"`
	PageNo      int    `form:"pageNo"`
	PageSize    int    `form:"pageSize"`
}

type QueryShardBlackListResponse added in v0.13.52

type QueryShardBlackListResponse struct {
	PageNo     int                  `json:"pageNo" binding:"required"`
	TotalCount int64                `json:"totalCount" binding:"required"`
	Infos      []ShardBlackListInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryShardBlackListPage added in v0.13.52

func QueryShardBlackListPage(params *QueryShardBlackListPageRequest) (*QueryShardBlackListResponse, error)

type QueryShardCardPageRequest added in v0.13.52

type QueryShardCardPageRequest struct {
	UserID   string     `form:"userID"`
	BcID     string     `form:"bcID"`
	Sort     SearchType `form:"sort"`
	KeyWords string     `form:"keyWords"`
	PageNo   int        `form:"pageNo"`
	PageSize int        `form:"pageSize"`
}

type QueryShardCardResponse added in v0.13.52

type QueryShardCardResponse struct {
	PageNo     int             `json:"pageNo" binding:"required"`
	TotalCount int64           `json:"totalCount" binding:"required"`
	Infos      []ShardCardInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryShardCardPage added in v0.13.52

func QueryShardCardPage(params *QueryShardCardPageRequest) (*QueryShardCardResponse, error)

type QueryShardConfigPageRequest added in v0.13.52

type QueryShardConfigPageRequest struct {
	UserID         string `form:"userID"`
	SensitiveData  int    `form:"sensitiveData"`
	LeaveMessage   int    `form:"leaveMessage"`
	PersonalMoment int    `form:"personalMoment"`
	PageNo         int    `form:"pageNo"`
	PageSize       int    `form:"pageSize"`
}

type QueryShardConfigResponse added in v0.13.52

type QueryShardConfigResponse struct {
	PageNo     int               `json:"pageNo" binding:"required"`
	TotalCount int64             `json:"totalCount" binding:"required"`
	Infos      []ShardConfigInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryShardConfigPage added in v0.13.52

func QueryShardConfigPage(params *QueryShardConfigPageRequest) (*QueryShardConfigResponse, error)

type QueryShardLikePageRequest added in v0.13.52

type QueryShardLikePageRequest struct {
	ShardCardId string `form:"shardCardId"`
	UserId      string `form:"userId"`
	UserName    string `form:"userName"`
	PageNo      int    `form:"pageNo"`
	PageSize    int    `form:"pageSize"`
}

type QueryShardLikeResponse added in v0.13.52

type QueryShardLikeResponse struct {
	PageNo     int             `json:"pageNo" binding:"required"`
	TotalCount int64           `json:"totalCount" binding:"required"`
	Infos      []ShardLikeInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryShardLikePage added in v0.13.52

func QueryShardLikePage(params *QueryShardLikePageRequest) (*QueryShardLikeResponse, error)

type QueryShardMessagePageRequest added in v0.13.52

type QueryShardMessagePageRequest struct {
	TargetMessageId string `form:"targetMessageId"`
	ShardCardId     string `form:"shardCardId"`
	Comment         string `form:"comment"`
	TargetMemberId  string `form:"targetMemberId"`
	MemberId        string `form:"memberId"`
	IsReply         uint8  `form:"isReply"`
	PageSize        int    `form:"pageSize"`
	PageNo          int    `form:"pageNo"`
}

type QueryShardMessageResponse added in v0.13.52

type QueryShardMessageResponse struct {
	PageNo     int                `json:"pageNo" binding:"required"`
	TotalCount int64              `json:"totalCount" binding:"required"`
	Infos      []ShardMessageInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryShardMessagePage added in v0.13.52

func QueryShardMessagePage(params *QueryShardMessagePageRequest) (*QueryShardMessageResponse, error)

type QueryShardSaveBcPageRequest added in v0.13.52

type QueryShardSaveBcPageRequest struct {
	ShardCardID string `form:"shardCardId"`
	UserID      string `form:"userId"`
	BcID        string `form:"bcId"`
	Status      uint8  `form:"status"`
	PageNo      int    `form:"pageNo"`
	PageSize    int    `form:"pageSize"`
}

type QueryShardSaveBcResponse added in v0.13.52

type QueryShardSaveBcResponse struct {
	PageNo     int               `json:"pageNo" binding:"required"`
	TotalCount int64             `json:"totalCount" binding:"required"`
	Infos      []ShardSaveBcInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryShardSaveBcPage added in v0.13.52

func QueryShardSaveBcPage(params *QueryShardSaveBcPageRequest) (*QueryShardSaveBcResponse, error)

type QueryShardViewPageRequest added in v0.13.52

type QueryShardViewPageRequest struct {
	ShardCardId string `form:"shardCardId"`
	UserId      string `form:"userId"`
	UserName    string `form:"userName"`
	PageNo      int    `form:"pageNo"`
	PageSize    int    `form:"pageSize"`
}

type QueryShardViewResponse added in v0.13.52

type QueryShardViewResponse struct {
	PageNo     int             `json:"pageNo" binding:"required"`
	TotalCount int64           `json:"totalCount" binding:"required"`
	Infos      []ShardViewInfo `json:"infos" binding:"required"`
	// contains filtered or unexported fields
}

func QueryShardViewPage added in v0.13.52

func QueryShardViewPage(params *QueryShardViewPageRequest) (*QueryShardViewResponse, error)

type RecognitionEntityBusinessCardRequest

type RecognitionEntityBusinessCardRequest struct {
	Photo *multipart.FileHeader `form:"file"`
}

type RecognitionEntityBusinessCardResponse

type RecognitionEntityBusinessCardResponse struct {
	Info *BusinessCardRecognitionInfo `json:"info"`
	// contains filtered or unexported fields
}

type SaveBusinessCardToHolderRequest

type SaveBusinessCardToHolderRequest struct {
	UserID             string `json:"userId" binding:"required"`
	BusinessCardUserID string `json:"businessCardUserId" binding:"required"`
	BusinessCardID     string `json:"businessCardId" binding:"required"`
}

type SearchType added in v0.13.68

type SearchType int
const (
	Popularity SearchType = iota + 1
	ShareTime
)

type SetBCDisabledRequest added in v0.9.55

type SetBCDisabledRequest struct {
	ID string `json:"id"`
}

type SetBCDisabledResponse added in v0.9.55

type SetBCDisabledResponse struct {
	// contains filtered or unexported fields
}

type ShardBlackListInfo added in v0.13.52

type ShardBlackListInfo struct {
	ID          string `json:"id"`
	ShardCardID string `json:"shardCardID"`
	UserID      string `json:"userID"`
}

type ShardCardInfo added in v0.13.52

type ShardCardInfo struct {
	ID              string `json:"id"`
	UserID          string `json:"userID"`
	BcID            string `json:"bcID"`
	KeyWords        string `json:"keyWords"`
	PopularityScore int    `json:"popularityScore"`
	ViewCount       int64  `json:"viewCount"`
	LikeCount       int64  `json:"likeCount"`
	MessageCount    int64  `json:"messageCount"`
}

type ShardConfigInfo added in v0.13.52

type ShardConfigInfo struct {
	ID             string `json:"id"`
	UserID         string `json:"userID"`
	SensitiveData  int    `json:"sensitiveData"`
	LeaveMessage   int    `json:"leaveMessage"`
	PersonalMoment int    `json:"personalMoment"`
}

type ShardLikeInfo added in v0.13.52

type ShardLikeInfo struct {
	ID          string `json:"id"`
	ShardCardId string `json:"shardCardId"`
	UserId      string `json:"userId"`
	UserName    string `json:"userName"`
}

type ShardMessageInfo added in v0.13.52

type ShardMessageInfo struct {
	ID              string `json:"id"`
	TargetMessageId string `json:"targetMessageId"`
	ShardCardId     string `json:"shardCardId"`
	Comment         string `json:"comment"`
	TargetMemberId  string `json:"targetMemberId"`
	MemberId        string `json:"memberId"`
	IsReply         uint8  `json:"isReply"`
	CreatedAt       string `json:"created_at"`
}

type ShardSaveBcInfo added in v0.13.52

type ShardSaveBcInfo struct {
	ID          string `json:"id"`
	ShardCardID string `json:"shardCardID"`
	UserID      string `json:"userID"`
	BcId        string `json:"bcId"`
	Status      uint8  `json:"status"`
}

type ShardViewInfo added in v0.13.52

type ShardViewInfo struct {
	ID          string `json:"id"`
	ShardCardId string `json:"shardCardId"`
	UserId      string `json:"userId"`
	UserName    string `json:"userName"`
	CreatedAt   string `json:"createdAt"`
}

type UpdateBcTangentFormatRequest

type UpdateBcTangentFormatRequest struct {
	TangentID  string `json:"tangentId"`
	Background string `json:"background"`
	FontColor  string `json:"fontColor"`
	Format     string `json:"format"`
}

type UpdateBcTangentFormatResponse

type UpdateBcTangentFormatResponse struct {
	// contains filtered or unexported fields
}

type UpdateBusinessCardMemoRequest

type UpdateBusinessCardMemoRequest struct {
	ID   string   `json:"id"`
	Memo string   `json:"memo"`
	Pics []string `json:"pics"`
}

type UpdateBusinessCardMemoResponse

type UpdateBusinessCardMemoResponse struct {
	// contains filtered or unexported fields
}

type UpdateBusinessCardRequest

type UpdateBusinessCardRequest struct {
	UserID           string   `json:"userId" binding:"required"`
	ID               string   `json:"id" binding:"required"`
	Name             string   `json:"name"`
	Phone            string   `json:"phone"`
	Email            string   `json:"email"`
	TangentName      string   `json:"tangentName"`
	TangentID        string   `json:"tangentId"`
	IndustryCategory string   `json:"industryCategory"`
	Position         string   `json:"position"`
	Faith            string   `json:"faith"`
	Introduction     string   `json:"introduction"`
	BusinessScopes   []string `json:"businessScopes"`
	Address          string   `json:"address"`
	LocationAddress  string   `json:"locationAddress"`
	Longitude        float64  `json:"longitude"`
	Latitude         float64  `json:"latitude"`
	JobTitles        []string `json:"JobTitle"`
	FontColor        string   `json:"fontColor"`
	Format           string   `json:"format"`
	Background       string   `json:"background"`
	HideAvatar       string   `json:"hideAvatar"`
}

type UpdateDictDetailsRequest added in v0.13.52

type UpdateDictDetailsRequest struct {
	Id                int    `json:"id"  binding:"required"`
	Label             string `json:"label"`
	Value             int    `json:"value"`
	Status            uint8  `json:"status"`
	Sort              int    `json:"sort"`
	DictDetailsTypeId int    `json:"dictDetailsTypeId"`
}

type UpdateDictDetailsResponse added in v0.13.52

type UpdateDictDetailsResponse struct {
	ID int `json:"id" binding:"required"`
	// contains filtered or unexported fields
}

type UpdateDictTypeRequest added in v0.13.52

type UpdateDictTypeRequest struct {
	Id     int    `json:"id"  binding:"required"`
	Name   string `json:"name"`
	Type   string `json:"type"`
	Status uint8  `json:"status"`
	Desc   string `json:"desc"`
}

type UpdateDictTypeResponse added in v0.13.52

type UpdateDictTypeResponse struct {
	// contains filtered or unexported fields
}

type UpdateShardCardRequest added in v0.13.52

type UpdateShardCardRequest struct {
	ID     string `json:"id"  binding:"required"`
	UserID string `json:"userID"`
	BcID   string `json:"bcID"`
}

type UpdateShardCardResponse added in v0.13.52

type UpdateShardCardResponse struct {
	// contains filtered or unexported fields
}

type UpdateShardConfigRequest added in v0.13.52

type UpdateShardConfigRequest struct {
	ID             string `json:"id"  binding:"required"`
	UserID         string `json:"userID"`
	SensitiveData  int    `json:"sensitiveData"`
	LeaveMessage   int    `json:"leaveMessage"`
	PersonalMoment int    `json:"personalMoment"`
}

type UpdateShardConfigResponse added in v0.13.52

type UpdateShardConfigResponse struct {
	// contains filtered or unexported fields
}

type UpdateShardLikeRequest added in v0.13.52

type UpdateShardLikeRequest struct {
	ID          string `json:"id"  binding:"required"`
	ShardCardId string `json:"shardCardId"`
	UserId      string `json:"userId"`
	UserName    string `json:"userName"`
}

type UpdateShardLikeResponse added in v0.13.52

type UpdateShardLikeResponse struct {
	// contains filtered or unexported fields
}

type UpdateShardMessageRequest added in v0.13.52

type UpdateShardMessageRequest struct {
	ID              string `json:"id"  binding:"required"`
	TargetMessageId string `json:"targetMessageId"`
	ShardCardId     string `json:"shardCardId"`
	Comment         string `json:"comment"`
	TargetMemberId  string `json:"targetMemberId"`
	MemberId        string `json:"memberId"`
	IsReply         uint8  `json:"isReply"`
}

type UpdateShardMessageResponse added in v0.13.52

type UpdateShardMessageResponse struct {
	// contains filtered or unexported fields
}

type UpdateShardSaveBcRequest added in v0.13.52

type UpdateShardSaveBcRequest struct {
	ID     string `json:"ID"`
	Status uint8  `json:"status"`
}

type UpdateShardSaveBcResponse added in v0.13.52

type UpdateShardSaveBcResponse struct {
	// contains filtered or unexported fields
}

type UpdateShardViewRequest added in v0.13.52

type UpdateShardViewRequest struct {
	ID          string `json:"id"  binding:"required"`
	ShardCardId string `json:"shardCardId"`
	UserId      string `json:"userId"`
	UserName    string `json:"userName"`
}

type UpdateShardViewResponse added in v0.13.52

type UpdateShardViewResponse struct {
	// contains filtered or unexported fields
}

type UpdateTangentBusinessCardASSRequest added in v0.7.0

type UpdateTangentBusinessCardASSRequest struct {
	TangentID       string   `json:"tangentId"`
	Longitude       float64  `json:"longitude"`
	Latitude        float64  `json:"latitude"`
	Address         string   `json:"address"`
	LocationAddress string   `json:"locationAddress"`
	BusinessScopes  []string `json:"businessScopes"`
	FontColor       string   `json:"fontColor"`
	Format          string   `json:"format"`
	Background      string   `json:"background"`
}

type UpdateTangentBusinessCardASSResponse added in v0.7.0

type UpdateTangentBusinessCardASSResponse struct {
	// contains filtered or unexported fields
}

type UploadBusinessCardBackgroundRequest

type UploadBusinessCardBackgroundRequest struct {
	Background *multipart.FileHeader `form:"background" binding:"required"`
}

type UploadBusinessCardMemoImgRequest

type UploadBusinessCardMemoImgRequest struct {
	Img []*multipart.FileHeader `form:"img" binding:"required"`
}

type UserBusinessCard

type UserBusinessCard struct {
	ID                 string `json:"id"`
	UserID             string `json:"userId"`
	BusinessCardID     string `json:"businessCardId"`
	BusinessCardUserId string `json:"BusinessCardUserId"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL