Documentation ¶
Index ¶
- func AcceptTrialApply(id string) error
- func AddUserEnterprise(reqParams *AddUserEnterpriseRequest) error
- func AuthEnterprise(req *AuthEnterpriseRequest) error
- func ConfiguredCmsSite(cmsOrgId int, siteId string) error
- func CreateEnterprise(reqParams *CreateEnterpriseRequest) (string, error)
- func CreateEnterpriseDelayPrice(reqParams *CreateEnterpriseDelayPriceRequest) (string, error)
- func CreateEnterpriseHis(params *CreateEnterpriseHisParams) error
- func CreateEnterpriseLink(params *CreateEnterpriseLinkParams) error
- func CreateEnterprisePosition(reqParams *CreateEnterprisePositionRequest) (string, error)
- func CreateOrgStructure(orgName string, enterpriseID string, parentID string, leaderId string, ...) error
- func CreateRechargeRecord(reqParams *CreateRechargeRecordRequest) error
- func CreateTrialApply(req *CreateTrialApplyRequest) error
- func DelUserEnterprise(reqParams *DelUserEnterpriseRequest) error
- func DelayEnterprise(reqParams *DelayEnterpriseRequest) error
- func DeleteEnterprise(enterpriseID string) error
- func DeleteEnterpriseDelayPrice(reqParams *DeleteEnterpriseDelayPriceRequest) error
- func DeleteEnterprisePosition(id string) error
- func DeleteOrgStructure(enterpriseID string, structureID string) error
- func DeleteUserThorough(userId string) error
- func Destroy()
- func GetEnterpriseLeader(params *GetEnterpriseLeaderRequest) (string, error)
- func GetOrgUserTotal(enterpriseID string) (int64, error)
- func Init(baseUrl string, timeoutSec time.Duration)
- func RefuseTrialApply(id string) error
- func RevokeTrialApply(id string) error
- func SetEnterpriseAdopt(reqParams *SetEnterprisesStatusRequest) error
- func SetEnterpriseAuthing(reqParams *SetEnterprisesStatusRequest) error
- func SetEnterpriseRefuse(reqParams *SetEnterprisesStatusRequest) error
- func UpdateEnterprise(reqParams *UpdateEnterpriseRequest) error
- func UpdateEnterpriseDelayPrice(reqParams *UpdateEnterpriseDelayPriceRequest) error
- func UpdateEnterprisePosition(reqParams *UpdateEnterprisePositionRequest) error
- func UpdateOrgStructure(enterpriseID string, orgStructureID string, orgName string, leaderId string, ...) error
- func UpdateOrgUser(orgID string, userID string, positionId string, enterpriseID string) error
- func UpdateRechargeRecord(reqParams *UpdateRechargeRecordRequest) error
- func UploadEnterpriseBackground(params *UploadEnterpriseBackgroundRequest) (string, string, error)
- func UploadEnterpriseBusinessLicense(enterpriseID string, header *multipart.FileHeader) (string, string, error)
- func UploadEnterpriseLogo(face *multipart.FileHeader) (string, string, error)
- func UserJoinOrg(userID string, orgID string, positionId string, enterpriseID string) error
- func UserLeaveOrg(userID string, orgID string) error
- type AddUserEnterpriseRequest
- type AdminUser
- type AuthEnterpriseRequest
- type CmsInfo
- type ConfiguredCmsSiteRequest
- type CreateEnterpriseDelayPriceRequest
- type CreateEnterpriseDelayPriceResponse
- type CreateEnterpriseHisParams
- type CreateEnterpriseHisResponse
- type CreateEnterpriseLinkParams
- type CreateEnterpriseLinkResponse
- type CreateEnterprisePositionRequest
- type CreateEnterprisePositionResponse
- type CreateEnterpriseRequest
- type CreateOrgStructureRequest
- type CreateRechargeRecordRequest
- type CreateRechargeRecordResponse
- type CreateTrialApplyRequest
- type DelUserEnterpriseRequest
- type DelayEnterpriseRequest
- type DelayEnterpriseResponse
- type DelayRecordInfo
- type DeleteEnterpriseDelayPriceRequest
- type DeleteEnterpriseDelayPriceResponse
- type DeleteEnterprisePositionRequest
- type DeleteEnterprisePositionResponse
- type DeleteOrgStructureQuery
- type DeleteUserThoroughRequest
- type DeleteUserThoroughResponse
- type DeptInfo
- type DeptUser
- type DeptUserPosition
- type EnterpriseDelayPriceInfo
- type EnterpriseHis
- type EnterpriseInfo
- func GetEnterprise(companyName string) (*EnterpriseInfo, error)
- func GetEnterprises(enterpriseID string, companyName string, contactPhone string, ...) ([]EnterpriseInfo, int64, error)
- func GetEnterprisesByIDs(ids []string, name string) ([]EnterpriseInfo, error)
- func GetUserEnterprises(userId string, companyName string, enterpriseID string, pageNo int, ...) ([]EnterpriseInfo, int64, error)
- type EnterpriseLink
- type EnterprisePositionInfo
- func GetEnterprisePosition(reqPrams *GetEnterprisePositionQuery) ([]EnterprisePositionInfo, int64, error)
- func GetEnterprisePositionByID(reqPrams *GetEnterprisePositionByIDQuery) (*EnterprisePositionInfo, error)
- func GetEnterprisePositionByIDs(reqParams *GetEnterprisePositionByIDsRequest) ([]EnterprisePositionInfo, error)
- type GetCmsOrgInfoResponse
- type GetDelayRecordsQuery
- type GetDelayRecordsResponse
- type GetDeptByIDQuery
- type GetDeptByIDResponse
- type GetDeptOfUserResponse
- type GetDeptWithUserResult
- type GetEnterpriseAdminUsersResponse
- type GetEnterpriseDelayPriceQuery
- type GetEnterpriseDelayPricesResponse
- type GetEnterpriseHisPageParams
- type GetEnterpriseHisPageRes
- type GetEnterpriseHisPageResponse
- type GetEnterpriseLeaderRequest
- type GetEnterpriseLeaderResponse
- type GetEnterprisePositionByIDQuery
- type GetEnterprisePositionByIDResponse
- type GetEnterprisePositionByIDsRequest
- type GetEnterprisePositionByIDsResponse
- type GetEnterprisePositionQuery
- type GetEnterprisePositionResponse
- type GetOrgDeptAndUsersResponse
- type GetOrgDeptUserPositionResult
- type GetOrgOfUserRequest
- type GetOrgStructureQuery
- type GetOrgStructureResponse
- type GetOrgUserQuery
- type GetOrgUserResponse
- type GetOrgUserTotalResponse
- type GetRechargeRecordQuery
- type GetRechargeRecordResponse
- type GetSnapShotEnterprisesResponse
- type GetTrailApplyResponse
- type GetUserOrgByIdsQuery
- type GetUserOrgStructureResponse
- type GetUsersOrgStructureResponse
- type InfoResponse
- type OperateTrialApplyRequest
- type OrgStructureInfo
- type OrgUserInfo
- type QuerySnapShotEnterprisesResult
- type RangeSnapShotEnterprisesQuery
- type RangeSnapShotEnterprisesResponse
- type RecordInfo
- type SetEnterprisesStatusRequest
- type SnapShotEnterpriseQuery
- type SnapShotEnterpriseRes
- type SonDept
- type TrialApplyInfo
- type UpdateEnterpriseDelayPriceRequest
- type UpdateEnterpriseDelayPriceResponse
- type UpdateEnterprisePositionRequest
- type UpdateEnterprisePositionResponse
- type UpdateEnterpriseRequest
- type UpdateOrgStructureRequest
- type UpdateOrgUserRequest
- type UpdateRechargeRecordRequest
- type UpdateRechargeRecordResponse
- type UploadEnterpriseBackgroundRequest
- type UploadEnterpriseBackgroundResponse
- type UploadEnterpriseBusinessLicenseResponse
- type UserAndPosition
- type UserJoinOrgRequest
- type UserLeaveOrgRequest
- type UserOrgStructureInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptTrialApply ¶ added in v0.5.3
func AddUserEnterprise ¶
func AddUserEnterprise(reqParams *AddUserEnterpriseRequest) error
func AuthEnterprise ¶ added in v0.5.1
func AuthEnterprise(req *AuthEnterpriseRequest) error
func ConfiguredCmsSite ¶ added in v0.12.29
func CreateEnterprise ¶
func CreateEnterprise(reqParams *CreateEnterpriseRequest) (string, error)
func CreateEnterpriseDelayPrice ¶
func CreateEnterpriseDelayPrice(reqParams *CreateEnterpriseDelayPriceRequest) (string, error)
func CreateEnterpriseHis ¶ added in v0.12.12
func CreateEnterpriseHis(params *CreateEnterpriseHisParams) error
func CreateEnterpriseLink ¶ added in v0.12.12
func CreateEnterpriseLink(params *CreateEnterpriseLinkParams) error
func CreateEnterprisePosition ¶ added in v0.10.2
func CreateEnterprisePosition(reqParams *CreateEnterprisePositionRequest) (string, error)
func CreateOrgStructure ¶
func CreateRechargeRecord ¶
func CreateRechargeRecord(reqParams *CreateRechargeRecordRequest) error
func CreateTrialApply ¶ added in v0.4.0
func CreateTrialApply(req *CreateTrialApplyRequest) error
func DelUserEnterprise ¶
func DelUserEnterprise(reqParams *DelUserEnterpriseRequest) error
func DelayEnterprise ¶
func DelayEnterprise(reqParams *DelayEnterpriseRequest) error
func DeleteEnterprise ¶
func DeleteEnterpriseDelayPrice ¶
func DeleteEnterpriseDelayPrice(reqParams *DeleteEnterpriseDelayPriceRequest) error
func DeleteEnterprisePosition ¶ added in v0.10.2
func DeleteOrgStructure ¶
func DeleteUserThorough ¶ added in v0.15.19
func GetEnterpriseLeader ¶ added in v0.12.14
func GetEnterpriseLeader(params *GetEnterpriseLeaderRequest) (string, error)
func GetOrgUserTotal ¶ added in v0.8.13
func RefuseTrialApply ¶ added in v0.5.3
func RevokeTrialApply ¶ added in v0.5.3
func SetEnterpriseAdopt ¶
func SetEnterpriseAdopt(reqParams *SetEnterprisesStatusRequest) error
func SetEnterpriseAuthing ¶
func SetEnterpriseAuthing(reqParams *SetEnterprisesStatusRequest) error
func SetEnterpriseRefuse ¶
func SetEnterpriseRefuse(reqParams *SetEnterprisesStatusRequest) error
func UpdateEnterprise ¶
func UpdateEnterprise(reqParams *UpdateEnterpriseRequest) error
func UpdateEnterpriseDelayPrice ¶
func UpdateEnterpriseDelayPrice(reqParams *UpdateEnterpriseDelayPriceRequest) error
func UpdateEnterprisePosition ¶ added in v0.10.2
func UpdateEnterprisePosition(reqParams *UpdateEnterprisePositionRequest) error
func UpdateOrgStructure ¶
func UpdateOrgUser ¶
func UpdateRechargeRecord ¶
func UpdateRechargeRecord(reqParams *UpdateRechargeRecordRequest) error
func UploadEnterpriseBackground ¶
func UploadEnterpriseBackground(params *UploadEnterpriseBackgroundRequest) (string, string, error)
func UploadEnterpriseBusinessLicense ¶ added in v0.4.0
func UploadEnterpriseLogo ¶
func UploadEnterpriseLogo(face *multipart.FileHeader) (string, string, error)
func UserJoinOrg ¶
func UserLeaveOrg ¶
Types ¶
type AuthEnterpriseRequest ¶ added in v0.5.1
type AuthEnterpriseRequest struct { ID string `json:"id"` Contacts string `json:"contacts"` ContactPhone string `json:"contactPhone"` CompanyName string `json:"companyName"` LegalPerson string `json:"legalPerson"` LegalPersonCard string `json:"legalPersonCard"` BusinessLicense string `json:"businessLicense"` Logo string `json:"logo"` IndustryCategory string `json:"industryCategory"` Industry string `json:"industry"` SocialCreditCode string `json:"socialCreditCode"` Longitude float64 `json:"longitude"` Latitude float64 `json:"latitude"` Address string `json:"address"` Website string `json:"website"` Email string `json:"email"` LocationAddress string `json:"locationAddress"` Background string `json:"background"` }
type CmsInfo ¶ added in v0.1.4
type CmsInfo struct { ID string `json:"id"` EnterpriseID string `json:"enterpriseId"` CmsOrgID int `json:"cmsOrgId"` SiteID string `json:"siteId"` Configured bool `json:"configured"` }
func GetCmsOrgInfo ¶ added in v0.1.4
type ConfiguredCmsSiteRequest ¶ added in v0.12.29
type CreateEnterpriseDelayPriceRequest ¶
type CreateEnterpriseDelayPriceRequest struct { ID string `json:"id"` Name string `json:"name"` DateType uint8 `json:"dateType"` DelayValue int `json:"delayValue"` OriginalPrice float64 `json:"originalPrice"` CurrentPrice float64 `json:"currentPrice"` Status uint8 `json:"status"` ActivityID string `json:"activityId"` }
type CreateEnterpriseDelayPriceResponse ¶
type CreateEnterpriseDelayPriceResponse struct { ID string `json:"id" binding:"required"` // contains filtered or unexported fields }
type CreateEnterpriseHisParams ¶ added in v0.12.12
type CreateEnterpriseHisResponse ¶ added in v0.12.12
type CreateEnterpriseHisResponse struct {
// contains filtered or unexported fields
}
type CreateEnterpriseLinkParams ¶ added in v0.12.12
type CreateEnterpriseLinkParams struct { EnterpriseID string `json:"enterpriseId"` DeptID string `json:"deptId"` DeptName string `json:"deptName"` ParentID string `json:"parentId"` ParentName string `json:"parentName"` Path string `json:"path"` LeaderID string `json:"leaderId"` LeaderName string `json:"leaderName"` Status uint8 `json:"status"` Date string `json:"date"` }
type CreateEnterpriseLinkResponse ¶ added in v0.12.12
type CreateEnterpriseLinkResponse struct {
// contains filtered or unexported fields
}
type CreateEnterprisePositionRequest ¶ added in v0.10.2
type CreateEnterprisePositionResponse ¶ added in v0.10.2
type CreateEnterprisePositionResponse struct { ID string `json:"id" binding:"required"` // contains filtered or unexported fields }
type CreateEnterpriseRequest ¶
type CreateRechargeRecordResponse ¶
type CreateRechargeRecordResponse struct {
// contains filtered or unexported fields
}
type CreateTrialApplyRequest ¶ added in v0.4.0
type CreateTrialApplyRequest struct { TangentID string `json:"tangentId"` TrialType uint8 `json:"trialType"` TrialDetail string `json:"trialDetail"` TeamSize string `json:"teamSize"` IndustryCategory string `json:"industryCategory"` Industry string `json:"industry"` Name string `json:"name"` Position string `json:"position"` Phone string `json:"phone"` }
type DelayEnterpriseRequest ¶
type DelayEnterpriseRequest struct { WxTxID string `json:"WxTxId"` DelayType uint8 `json:"delayType"` CompanyID string `json:"companyId"` CompanyName string `json:"companyName"` MemberID string `json:"memberId"` DateType uint8 `json:"dateType"` DelayValue int `json:"delayValue"` Remark string `json:"remark"` }
type DelayEnterpriseResponse ¶
type DelayEnterpriseResponse struct {
// contains filtered or unexported fields
}
type DelayRecordInfo ¶
type DelayRecordInfo struct { ID string `json:"id"` WxTxID string `json:"WxTxId"` DelayType uint8 `json:"delayType"` CompanyID string `json:"companyId"` CompanyName string `json:"companyName"` MemberID string `json:"memberId"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` DateType uint8 `json:"dateType"` DelayValue int `json:"delayValue"` Remark string `json:"remark"` }
func GetDelayRecords ¶
func GetDelayRecords(reqPrams *GetDelayRecordsQuery) ([]DelayRecordInfo, int64, error)
type DeleteEnterpriseDelayPriceRequest ¶
type DeleteEnterpriseDelayPriceRequest struct {
ID string `json:"id"`
}
type DeleteEnterpriseDelayPriceResponse ¶
type DeleteEnterpriseDelayPriceResponse struct {
// contains filtered or unexported fields
}
type DeleteEnterprisePositionRequest ¶ added in v0.10.2
type DeleteEnterprisePositionRequest struct {
ID string `json:"id"`
}
type DeleteEnterprisePositionResponse ¶ added in v0.10.2
type DeleteEnterprisePositionResponse struct {
// contains filtered or unexported fields
}
type DeleteOrgStructureQuery ¶
type DeleteOrgStructureQuery struct {
EnterpriseID string `form:"enterpriseId" binding:"required"`
}
type DeleteUserThoroughRequest ¶ added in v0.15.19
type DeleteUserThoroughRequest struct {
UserId string `json:"userId"`
}
type DeleteUserThoroughResponse ¶ added in v0.15.19
type DeleteUserThoroughResponse struct {
// contains filtered or unexported fields
}
type DeptInfo ¶ added in v0.11.8
type DeptInfo struct { ID string OrgName string EnterpriseID string LeaderId string LeaderName string ParentID string }
func GetDeptByID ¶ added in v0.11.8
func GetDeptByID(reqPrams *GetDeptByIDQuery) (*DeptInfo, error)
func GetDeptOfUser ¶ added in v0.12.14
func GetDeptOfUser(params *GetOrgOfUserRequest) (*DeptInfo, bool, error)
type DeptUser ¶ added in v0.9.2
type DeptUser struct { DeptID string `json:"deptId"` DeptName string `json:"deptName"` UserIDs []string `json:"userIDs"` LeaderID string `json:"leaderId"` }
func GetOrgDeptAndUsers ¶ added in v0.9.2
type DeptUserPosition ¶ added in v0.9.41
type DeptUserPosition struct { DeptID string `json:"deptId"` DeptName string `json:"deptName"` Users []UserAndPosition `json:"users"` LeaderID string `json:"leaderId"` }
func GetOrgDeptAndUsersAndPosition ¶ added in v0.9.41
func GetOrgDeptAndUsersAndPosition(enterpriseID string) ([]*DeptUserPosition, error)
type EnterpriseDelayPriceInfo ¶
type EnterpriseDelayPriceInfo struct { ID string `json:"id"` Name string `json:"name"` DateType uint8 `json:"dateType"` DelayValue int `json:"delayValue"` OriginalPrice float64 `json:"originalPrice"` CurrentPrice float64 `json:"currentPrice"` Status uint8 `json:"status"` ActivityID string `json:"activityId"` }
func GetEnterpriseDelayPrice ¶
func GetEnterpriseDelayPrice(reqPrams *GetEnterpriseDelayPriceQuery) ([]EnterpriseDelayPriceInfo, int64, error)
type EnterpriseHis ¶ added in v0.12.12
type EnterpriseHis struct { EnterpriseID string `json:"enterpriseId"` DeptID string `json:"deptId"` DeptName string `json:"deptName"` ParentID string `json:"parentId"` LeaderID string `json:"leaderId"` LeaderName string `json:"leaderName"` Status uint8 `json:"status"` }
func GetEnterpriseHisPage ¶ added in v0.12.12
func GetEnterpriseHisPage(params *GetEnterpriseHisPageParams) ([]EnterpriseHis, int64, error)
type EnterpriseInfo ¶
type EnterpriseInfo struct { ID string `json:"id"` CompanyName string `json:"companyName"` Contacts string `json:"contacts"` ContactPhone string `json:"contactPhone"` LegalPerson string `json:"legalPerson"` LegalPersonCard string `json:"legalPersonCard"` BusinessLicense string `json:"businessLicense"` Status string `json:"status"` Longitude float64 `json:"longitude"` Latitude float64 `json:"latitude"` Address string `json:"address"` DetailState string `json:"detailState"` Logo string `json:"logo"` Email string `json:"email"` Website string `json:"website"` LocationAddress string `json:"locationAddress"` Background string `json:"background"` BackgroundUrl string `json:"backgroundUrl"` DaysRemaining int `json:"daysRemaining"` ExpiredTime string `json:"expiredTime"` IndustryCategory string `json:"industryCategory"` Industry string `json:"industry"` SocialCreditCode string `json:"socialCreditCode"` }
func GetEnterprise ¶
func GetEnterprise(companyName string) (*EnterpriseInfo, error)
func GetEnterprises ¶
func GetEnterprisesByIDs ¶
func GetEnterprisesByIDs(ids []string, name string) ([]EnterpriseInfo, error)
func GetUserEnterprises ¶
type EnterpriseLink ¶ added in v0.12.12
type EnterpriseLink struct { EnterpriseID string `json:"enterpriseId"` DeptID string `json:"deptId"` DeptName string `json:"deptName"` ParentID string `json:"parentId"` LeaderID string `json:"leaderId"` LeaderName string `json:"leaderName"` Status uint8 `json:"status"` StartDate *time.Time `json:"startDate"` EndDate *time.Time `json:"endDate"` }
func GetSnapShotEnterprises ¶ added in v0.12.12
func GetSnapShotEnterprises(params *SnapShotEnterpriseQuery) ([]EnterpriseLink, int64, error)
func RangeSnapShotEnterprises ¶ added in v0.12.12
func RangeSnapShotEnterprises(params *RangeSnapShotEnterprisesQuery) ([]EnterpriseLink, int64, error)
type EnterprisePositionInfo ¶ added in v0.10.2
type EnterprisePositionInfo struct { ID string `json:"id"` OrgID string `json:"orgId"` Position string `json:"position"` Sort int `json:"sort"` Remark string `json:"remark"` }
func GetEnterprisePosition ¶ added in v0.10.2
func GetEnterprisePosition(reqPrams *GetEnterprisePositionQuery) ([]EnterprisePositionInfo, int64, error)
func GetEnterprisePositionByID ¶ added in v0.11.7
func GetEnterprisePositionByID(reqPrams *GetEnterprisePositionByIDQuery) (*EnterprisePositionInfo, error)
func GetEnterprisePositionByIDs ¶ added in v0.11.7
func GetEnterprisePositionByIDs(reqParams *GetEnterprisePositionByIDsRequest) ([]EnterprisePositionInfo, error)
type GetCmsOrgInfoResponse ¶ added in v0.1.4
type GetCmsOrgInfoResponse struct { Info *CmsInfo `json:"info"` // contains filtered or unexported fields }
type GetDelayRecordsQuery ¶
type GetDelayRecordsResponse ¶
type GetDelayRecordsResponse struct { PageNo int `json:"pageNo" binding:"required"` TotalCount int64 `json:"totalCount" binding:"required"` Infos []DelayRecordInfo `json:"infos" binding:"required"` // contains filtered or unexported fields }
type GetDeptByIDQuery ¶ added in v0.11.8
type GetDeptByIDQuery struct {
ID string `form:"id"`
}
type GetDeptByIDResponse ¶ added in v0.11.8
type GetDeptByIDResponse struct { DeptInfo *DeptInfo `json:"deptInfo"` // contains filtered or unexported fields }
type GetDeptOfUserResponse ¶ added in v0.12.14
type GetDeptWithUserResult ¶ added in v0.15.40
type GetDeptWithUserResult struct { DeptId string `json:"deptId"` DeptName string `json:"deptName"` Title []SonDept `json:"title"` Users []UserAndPosition `json:"users"` Sons []SonDept `json:"sons"` }
func GetDeptWithUser ¶ added in v0.15.40
func GetDeptWithUser(tangentId, deptId string) (*GetDeptWithUserResult, error)
type GetEnterpriseAdminUsersResponse ¶ added in v0.12.25
type GetEnterpriseAdminUsersResponse struct { Infos []AdminUser `json:"infos" binding:"required"` // contains filtered or unexported fields }
type GetEnterpriseDelayPricesResponse ¶
type GetEnterpriseDelayPricesResponse struct { PageNo int `json:"pageNo" binding:"required"` TotalCount int64 `json:"totalCount" binding:"required"` Infos []EnterpriseDelayPriceInfo `json:"infos" binding:"required"` // contains filtered or unexported fields }
type GetEnterpriseHisPageParams ¶ added in v0.12.12
type GetEnterpriseHisPageRes ¶ added in v0.12.12
type GetEnterpriseHisPageRes struct { Infos []EnterpriseHis `json:"infos"` TotalCount int64 `json:"totalCount"` }
type GetEnterpriseHisPageResponse ¶ added in v0.12.12
type GetEnterpriseHisPageResponse struct { Infos []EnterpriseHis `json:"infos"` TotalCount int64 `json:"totalCount"` PageNo int `json:"pageNo"` // contains filtered or unexported fields }
type GetEnterpriseLeaderRequest ¶ added in v0.12.14
type GetEnterpriseLeaderRequest struct {
EnterpriseId string `form:"enterpriseId"`
}
type GetEnterpriseLeaderResponse ¶ added in v0.12.14
type GetEnterpriseLeaderResponse struct { LeaderId string `json:"leaderId"` // contains filtered or unexported fields }
type GetEnterprisePositionByIDQuery ¶ added in v0.11.7
type GetEnterprisePositionByIDQuery struct {
ID string `form:"id"`
}
type GetEnterprisePositionByIDResponse ¶ added in v0.11.7
type GetEnterprisePositionByIDResponse struct { Info *EnterprisePositionInfo // contains filtered or unexported fields }
type GetEnterprisePositionByIDsRequest ¶ added in v0.11.7
type GetEnterprisePositionByIDsRequest struct {
IDs []string `json:"ids"`
}
type GetEnterprisePositionByIDsResponse ¶ added in v0.11.7
type GetEnterprisePositionByIDsResponse struct { Infos []EnterprisePositionInfo `json:"infos" binding:"required"` // contains filtered or unexported fields }
type GetEnterprisePositionQuery ¶ added in v0.10.2
type GetEnterprisePositionResponse ¶ added in v0.10.2
type GetEnterprisePositionResponse struct { PageNo int `json:"pageNo" binding:"required"` TotalCount int64 `json:"totalCount" binding:"required"` Infos []EnterprisePositionInfo `json:"infos" binding:"required"` // contains filtered or unexported fields }
type GetOrgDeptAndUsersResponse ¶ added in v0.9.2
type GetOrgDeptAndUsersResponse struct { Infos []*DeptUser `json:"infos"` // contains filtered or unexported fields }
type GetOrgDeptUserPositionResult ¶ added in v0.9.41
type GetOrgDeptUserPositionResult struct { Infos []*DeptUserPosition `json:"infos"` // contains filtered or unexported fields }
type GetOrgOfUserRequest ¶ added in v0.12.14
type GetOrgStructureQuery ¶
type GetOrgStructureQuery struct {
EnterpriseID string `form:"enterpriseId" binding:"required"`
}
type GetOrgStructureResponse ¶
type GetOrgStructureResponse struct { Infos []OrgStructureInfo `json:"infos"` // contains filtered or unexported fields }
type GetOrgUserQuery ¶
type GetOrgUserResponse ¶
type GetOrgUserResponse struct { Infos []OrgUserInfo `json:"infos"` PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` // contains filtered or unexported fields }
type GetOrgUserTotalResponse ¶ added in v0.8.13
type GetOrgUserTotalResponse struct { Total int64 `json:"total"` // contains filtered or unexported fields }
type GetRechargeRecordQuery ¶
type GetRechargeRecordQuery struct {
TxID string `form:"TxId"`
}
type GetRechargeRecordResponse ¶
type GetRechargeRecordResponse struct { Info *RecordInfo `json:"info" binding:"required"` // contains filtered or unexported fields }
type GetSnapShotEnterprisesResponse ¶ added in v0.12.12
type GetSnapShotEnterprisesResponse struct { Infos []EnterpriseLink `json:"infos"` TotalCount int64 // contains filtered or unexported fields }
type GetTrailApplyResponse ¶ added in v0.4.0
type GetTrailApplyResponse struct { Infos []TrialApplyInfo `json:"infos"` TotalCount int64 `json:"totalCount"` PageNo int `json:"pageNo"` // contains filtered or unexported fields }
type GetUserOrgByIdsQuery ¶ added in v0.9.51
type GetUserOrgStructureResponse ¶
type GetUserOrgStructureResponse struct { Info *UserOrgStructureInfo `json:"info"` // contains filtered or unexported fields }
type GetUsersOrgStructureResponse ¶ added in v0.9.51
type GetUsersOrgStructureResponse struct { Infos []UserOrgStructureInfo `json:"infos"` // contains filtered or unexported fields }
type InfoResponse ¶ added in v0.15.40
type InfoResponse[T any] struct { Info T `json:"info"` // contains filtered or unexported fields }
type OperateTrialApplyRequest ¶ added in v0.5.2
type OperateTrialApplyRequest struct {
ID string `json:"id"`
}
type OrgStructureInfo ¶
type OrgStructureInfo struct { ID string `json:"id"` OrgName string `json:"orgName"` EnterpriseID string `json:"enterpriseId"` LeaderId string `json:"leaderId"` LeaderName string `json:"leaderName"` Sons []OrgStructureInfo `json:"sons"` }
func GetOrgStructure ¶
func GetOrgStructure(enterpriseID string) ([]OrgStructureInfo, error)
func GetOrgStructureByDeptID ¶ added in v0.13.26
func GetOrgStructureByDeptID(enterpriseID, deptID string) ([]OrgStructureInfo, error)
type OrgUserInfo ¶
type OrgUserInfo struct { UserID string `json:"userId"` Position string `json:"position"` PositionID string `json:"positionId"` }
func GetOrgUser ¶
type QuerySnapShotEnterprisesResult ¶ added in v0.12.12
type QuerySnapShotEnterprisesResult struct { Infos []EnterpriseLink `json:"infos"` TotalCount int64 `json:"totalCount"` }
type RangeSnapShotEnterprisesQuery ¶ added in v0.12.12
type RangeSnapShotEnterprisesQuery struct { EnterpriseID string `form:"enterpriseId"` DeptID string `form:"deptId"` DeptName string `form:"deptName"` LeaderName string `form:"leaderName"` Status uint8 `form:"status"` StartDate string `form:"startDate"` EndDate string `form:"endDate"` PageNo int `form:"pageNo"` PageSize int `form:"pageSize"` }
type RangeSnapShotEnterprisesResponse ¶ added in v0.12.12
type RangeSnapShotEnterprisesResponse struct { Infos []EnterpriseLink `json:"infos"` TotalCount int64 // contains filtered or unexported fields }
type RecordInfo ¶
type RecordInfo struct { TxID string `json:"txId"` PriceID string `json:"PriceId"` Status uint8 `json:"status"` MemberID string `json:"memberId"` CompanyID string `json:"companyId"` }
func GetRechargeRecord ¶
func GetRechargeRecord(reqPrams *GetRechargeRecordQuery) (*RecordInfo, error)
type SetEnterprisesStatusRequest ¶
type SetEnterprisesStatusRequest struct {
ID string `json:"id" binding:"required"`
}
type SnapShotEnterpriseQuery ¶ added in v0.12.12
type SnapShotEnterpriseQuery struct { EnterpriseID string `form:"enterpriseId"` DeptID string `form:"deptId"` DeptName string `form:"deptName"` LeaderName string `form:"leaderName"` Status uint8 `form:"status"` SnapShotDate string `form:"snapShotDate"` PageNo int `form:"pageNo"` PageSize int `form:"pageSize"` }
type SnapShotEnterpriseRes ¶ added in v0.12.12
type SnapShotEnterpriseRes struct { Infos []EnterpriseLink `json:"infos"` TotalCount int64 `json:"totalCount"` }
type TrialApplyInfo ¶ added in v0.4.0
type TrialApplyInfo struct { ID string `json:"id"` TangentID string `json:"tangentId"` TangentName string `json:"tangentName"` TrialType uint8 `json:"trialType"` TrialDetail string `json:"trialDetail"` TeamSize string `json:"teamSize"` IndustryCategory string `json:"industryCategory"` Industry string `json:"industry"` Name string `json:"name"` Position string `json:"position"` Phone string `json:"phone"` Status uint8 `json:"status"` CreateTime string `json:"createTime"` }
func GetTrialApply ¶ added in v0.5.3
type UpdateEnterpriseDelayPriceRequest ¶
type UpdateEnterpriseDelayPriceRequest struct { ID string `json:"id"` Name string `json:"name"` DateType uint8 `json:"dateType"` DelayValue int `json:"delayValue"` OriginalPrice float64 `json:"originalPrice"` CurrentPrice float64 `json:"currentPrice"` Status uint8 `json:"status"` ActivityID string `json:"activityId"` }
type UpdateEnterpriseDelayPriceResponse ¶
type UpdateEnterpriseDelayPriceResponse struct {
// contains filtered or unexported fields
}
type UpdateEnterprisePositionRequest ¶ added in v0.10.2
type UpdateEnterprisePositionResponse ¶ added in v0.10.2
type UpdateEnterprisePositionResponse struct {
// contains filtered or unexported fields
}
type UpdateEnterpriseRequest ¶
type UpdateEnterpriseRequest struct { ID string `json:"id"` Contacts string `json:"contacts"` ContactPhone string `json:"contactPhone"` Longitude float64 `json:"longitude"` Latitude float64 `json:"latitude"` Address string `json:"address"` LocationAddress string `json:"locationAddress"` Introduction string `json:"introduction"` Logo string `json:"logo"` Email string `json:"email"` Website string `json:"website"` Background string `json:"background"` }
type UpdateOrgUserRequest ¶
type UpdateRechargeRecordResponse ¶
type UpdateRechargeRecordResponse struct {
// contains filtered or unexported fields
}
type UploadEnterpriseBackgroundRequest ¶
type UploadEnterpriseBackgroundRequest struct {
Background *multipart.FileHeader `form:"background" binding:"required"`
}
type UploadEnterpriseBusinessLicenseResponse ¶ added in v0.4.0
type UserAndPosition ¶ added in v0.9.41
type UserJoinOrgRequest ¶
type UserLeaveOrgRequest ¶
type UserOrgStructureInfo ¶
type UserOrgStructureInfo struct { ID string `json:"id"` Name string `json:"name"` PositionID string `json:"positionId"` Position string `json:"position"` UserID string `json:"userId"` }
func GetUserOrgStructure ¶
func GetUserOrgStructure(userId, enterpriseId string) (*UserOrgStructureInfo, error)
func GetUserOrgStructures ¶ added in v0.9.51
func GetUserOrgStructures(tangentId string, userIds []string) ([]UserOrgStructureInfo, error)
Click to show internal directories.
Click to hide internal directories.