Documentation ¶
Overview ¶
Package subuser 包含子账号管理API相关结构体
Index ¶
- func ReleaseDepartment(v *Department)
- func ReleaseDuty(v *Duty)
- func ReleasePermission(v *Permission)
- func ReleaseRole(v *Role)
- func ReleaseSubAccountInfo(v *SubAccountInfo)
- func ReleaseSubUserDo(v *SubUserDo)
- func ReleaseSubUserFullInfo(v *SubUserFullInfo)
- func ReleaseSubUserInfo(v *SubUserInfo)
- func ReleaseSubUserPermission(v *SubUserPermission)
- func ReleaseTaobaoSellercenterRoleAddAPIRequest(v *TaobaoSellercenterRoleAddAPIRequest)
- func ReleaseTaobaoSellercenterRoleAddAPIResponse(v *TaobaoSellercenterRoleAddAPIResponse)
- func ReleaseTaobaoSellercenterRolesGetAPIRequest(v *TaobaoSellercenterRolesGetAPIRequest)
- func ReleaseTaobaoSellercenterRolesGetAPIResponse(v *TaobaoSellercenterRolesGetAPIResponse)
- func ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIRequest(v *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest)
- func ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIResponse(v *TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse)
- func ReleaseTaobaoSellercenterSubusersGetAPIRequest(v *TaobaoSellercenterSubusersGetAPIRequest)
- func ReleaseTaobaoSellercenterSubusersGetAPIResponse(v *TaobaoSellercenterSubusersGetAPIResponse)
- func ReleaseTaobaoSellercenterSubusersPageAPIRequest(v *TaobaoSellercenterSubusersPageAPIRequest)
- func ReleaseTaobaoSellercenterSubusersPageAPIResponse(v *TaobaoSellercenterSubusersPageAPIResponse)
- func ReleaseTaobaoSellercenterUserPermissionsGetAPIRequest(v *TaobaoSellercenterUserPermissionsGetAPIRequest)
- func ReleaseTaobaoSellercenterUserPermissionsGetAPIResponse(v *TaobaoSellercenterUserPermissionsGetAPIResponse)
- func ReleaseTaobaoSubuserDepartmentsGetAPIRequest(v *TaobaoSubuserDepartmentsGetAPIRequest)
- func ReleaseTaobaoSubuserDepartmentsGetAPIResponse(v *TaobaoSubuserDepartmentsGetAPIResponse)
- func ReleaseTaobaoSubuserDutysGetAPIRequest(v *TaobaoSubuserDutysGetAPIRequest)
- func ReleaseTaobaoSubuserDutysGetAPIResponse(v *TaobaoSubuserDutysGetAPIResponse)
- func ReleaseTaobaoSubuserFullinfoGetAPIRequest(v *TaobaoSubuserFullinfoGetAPIRequest)
- func ReleaseTaobaoSubuserFullinfoGetAPIResponse(v *TaobaoSubuserFullinfoGetAPIResponse)
- func ReleaseTaobaoSubuserInfoUpdateAPIRequest(v *TaobaoSubuserInfoUpdateAPIRequest)
- func ReleaseTaobaoSubuserInfoUpdateAPIResponse(v *TaobaoSubuserInfoUpdateAPIResponse)
- func ReleaseTaobaoSubusersGetAPIRequest(v *TaobaoSubusersGetAPIRequest)
- func ReleaseTaobaoSubusersGetAPIResponse(v *TaobaoSubusersGetAPIResponse)
- func ReleaseTaobaoSubusersInfoQueryAPIRequest(v *TaobaoSubusersInfoQueryAPIRequest)
- func ReleaseTaobaoSubusersInfoQueryAPIResponse(v *TaobaoSubusersInfoQueryAPIResponse)
- func ReleaseTaobaoSubusersPageAPIRequest(v *TaobaoSubusersPageAPIRequest)
- func ReleaseTaobaoSubusersPageAPIResponse(v *TaobaoSubusersPageAPIResponse)
- func ReleaseTaobaoSubusersSubaccountSearchAPIRequest(v *TaobaoSubusersSubaccountSearchAPIRequest)
- func ReleaseTaobaoSubusersSubaccountSearchAPIResponse(v *TaobaoSubusersSubaccountSearchAPIResponse)
- type Department
- type Duty
- type Permission
- type Role
- type SubAccountInfo
- type SubUserDo
- type SubUserFullInfo
- type SubUserInfo
- type SubUserPermission
- type TaobaoSellercenterRoleAddAPIRequest
- func (r TaobaoSellercenterRoleAddAPIRequest) GetApiMethodName() string
- func (r TaobaoSellercenterRoleAddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSellercenterRoleAddAPIRequest) GetDescription() string
- func (r TaobaoSellercenterRoleAddAPIRequest) GetName() string
- func (r TaobaoSellercenterRoleAddAPIRequest) GetNick() string
- func (r TaobaoSellercenterRoleAddAPIRequest) GetPermissionCodes() []string
- func (r TaobaoSellercenterRoleAddAPIRequest) GetRawParams() model.Params
- func (r *TaobaoSellercenterRoleAddAPIRequest) Reset()
- func (r *TaobaoSellercenterRoleAddAPIRequest) SetDescription(_description string) error
- func (r *TaobaoSellercenterRoleAddAPIRequest) SetName(_name string) error
- func (r *TaobaoSellercenterRoleAddAPIRequest) SetNick(_nick string) error
- func (r *TaobaoSellercenterRoleAddAPIRequest) SetPermissionCodes(_permissionCodes []string) error
- type TaobaoSellercenterRoleAddAPIResponse
- type TaobaoSellercenterRoleAddAPIResponseModel
- type TaobaoSellercenterRolesGetAPIRequest
- func (r TaobaoSellercenterRolesGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSellercenterRolesGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSellercenterRolesGetAPIRequest) GetNick() string
- func (r TaobaoSellercenterRolesGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoSellercenterRolesGetAPIRequest) Reset()
- func (r *TaobaoSellercenterRolesGetAPIRequest) SetNick(_nick string) error
- type TaobaoSellercenterRolesGetAPIResponse
- type TaobaoSellercenterRolesGetAPIResponseModel
- type TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest
- func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetNick() string
- func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) Reset()
- func (r *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) SetNick(_nick string) error
- type TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse
- type TaobaoSellercenterSubuserPermissionsRolesGetAPIResponseModel
- type TaobaoSellercenterSubusersGetAPIRequest
- func (r TaobaoSellercenterSubusersGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSellercenterSubusersGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSellercenterSubusersGetAPIRequest) GetNick() string
- func (r TaobaoSellercenterSubusersGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoSellercenterSubusersGetAPIRequest) Reset()
- func (r *TaobaoSellercenterSubusersGetAPIRequest) SetNick(_nick string) error
- type TaobaoSellercenterSubusersGetAPIResponse
- type TaobaoSellercenterSubusersGetAPIResponseModel
- type TaobaoSellercenterSubusersPageAPIRequest
- func (r TaobaoSellercenterSubusersPageAPIRequest) GetAccountStatus() int64
- func (r TaobaoSellercenterSubusersPageAPIRequest) GetApiMethodName() string
- func (r TaobaoSellercenterSubusersPageAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSellercenterSubusersPageAPIRequest) GetNick() string
- func (r TaobaoSellercenterSubusersPageAPIRequest) GetPageNum() int64
- func (r TaobaoSellercenterSubusersPageAPIRequest) GetPageSize() int64
- func (r TaobaoSellercenterSubusersPageAPIRequest) GetRawParams() model.Params
- func (r *TaobaoSellercenterSubusersPageAPIRequest) Reset()
- func (r *TaobaoSellercenterSubusersPageAPIRequest) SetAccountStatus(_accountStatus int64) error
- func (r *TaobaoSellercenterSubusersPageAPIRequest) SetNick(_nick string) error
- func (r *TaobaoSellercenterSubusersPageAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoSellercenterSubusersPageAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoSellercenterSubusersPageAPIResponse
- type TaobaoSellercenterSubusersPageAPIResponseModel
- type TaobaoSellercenterUserPermissionsGetAPIRequest
- func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetNick() string
- func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoSellercenterUserPermissionsGetAPIRequest) Reset()
- func (r *TaobaoSellercenterUserPermissionsGetAPIRequest) SetNick(_nick string) error
- type TaobaoSellercenterUserPermissionsGetAPIResponse
- type TaobaoSellercenterUserPermissionsGetAPIResponseModel
- type TaobaoSubuserDepartmentsGetAPIRequest
- func (r TaobaoSubuserDepartmentsGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSubuserDepartmentsGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubuserDepartmentsGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoSubuserDepartmentsGetAPIRequest) GetUserNick() string
- func (r *TaobaoSubuserDepartmentsGetAPIRequest) Reset()
- func (r *TaobaoSubuserDepartmentsGetAPIRequest) SetUserNick(_userNick string) error
- type TaobaoSubuserDepartmentsGetAPIResponse
- type TaobaoSubuserDepartmentsGetAPIResponseModel
- type TaobaoSubuserDutysGetAPIRequest
- func (r TaobaoSubuserDutysGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSubuserDutysGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubuserDutysGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoSubuserDutysGetAPIRequest) GetUserNick() string
- func (r *TaobaoSubuserDutysGetAPIRequest) Reset()
- func (r *TaobaoSubuserDutysGetAPIRequest) SetUserNick(_userNick string) error
- type TaobaoSubuserDutysGetAPIResponse
- type TaobaoSubuserDutysGetAPIResponseModel
- type TaobaoSubuserFullinfoGetAPIRequest
- func (r TaobaoSubuserFullinfoGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSubuserFullinfoGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubuserFullinfoGetAPIRequest) GetFields() string
- func (r TaobaoSubuserFullinfoGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoSubuserFullinfoGetAPIRequest) GetSubId() int64
- func (r TaobaoSubuserFullinfoGetAPIRequest) GetSubNick() string
- func (r *TaobaoSubuserFullinfoGetAPIRequest) Reset()
- func (r *TaobaoSubuserFullinfoGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoSubuserFullinfoGetAPIRequest) SetSubId(_subId int64) error
- func (r *TaobaoSubuserFullinfoGetAPIRequest) SetSubNick(_subNick string) error
- type TaobaoSubuserFullinfoGetAPIResponse
- type TaobaoSubuserFullinfoGetAPIResponseModel
- type TaobaoSubuserInfoUpdateAPIRequest
- func (r TaobaoSubuserInfoUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoSubuserInfoUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubuserInfoUpdateAPIRequest) GetIsDisableSubaccount() bool
- func (r TaobaoSubuserInfoUpdateAPIRequest) GetIsDispatch() bool
- func (r TaobaoSubuserInfoUpdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoSubuserInfoUpdateAPIRequest) GetSubId() int64
- func (r *TaobaoSubuserInfoUpdateAPIRequest) Reset()
- func (r *TaobaoSubuserInfoUpdateAPIRequest) SetIsDisableSubaccount(_isDisableSubaccount bool) error
- func (r *TaobaoSubuserInfoUpdateAPIRequest) SetIsDispatch(_isDispatch bool) error
- func (r *TaobaoSubuserInfoUpdateAPIRequest) SetSubId(_subId int64) error
- type TaobaoSubuserInfoUpdateAPIResponse
- type TaobaoSubuserInfoUpdateAPIResponseModel
- type TaobaoSubusersGetAPIRequest
- func (r TaobaoSubusersGetAPIRequest) GetApiMethodName() string
- func (r TaobaoSubusersGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubusersGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoSubusersGetAPIRequest) GetUserNick() string
- func (r *TaobaoSubusersGetAPIRequest) Reset()
- func (r *TaobaoSubusersGetAPIRequest) SetUserNick(_userNick string) error
- type TaobaoSubusersGetAPIResponse
- type TaobaoSubusersGetAPIResponseModel
- type TaobaoSubusersInfoQueryAPIRequest
- func (r TaobaoSubusersInfoQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoSubusersInfoQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubusersInfoQueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoSubusersInfoQueryAPIRequest) GetSite() int64
- func (r *TaobaoSubusersInfoQueryAPIRequest) Reset()
- func (r *TaobaoSubusersInfoQueryAPIRequest) SetSite(_site int64) error
- type TaobaoSubusersInfoQueryAPIResponse
- type TaobaoSubusersInfoQueryAPIResponseModel
- type TaobaoSubusersPageAPIRequest
- func (r TaobaoSubusersPageAPIRequest) GetAccountStatus() int64
- func (r TaobaoSubusersPageAPIRequest) GetApiMethodName() string
- func (r TaobaoSubusersPageAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubusersPageAPIRequest) GetPageNum() int64
- func (r TaobaoSubusersPageAPIRequest) GetPageSize() int64
- func (r TaobaoSubusersPageAPIRequest) GetRawParams() model.Params
- func (r TaobaoSubusersPageAPIRequest) GetUserNick() string
- func (r *TaobaoSubusersPageAPIRequest) Reset()
- func (r *TaobaoSubusersPageAPIRequest) SetAccountStatus(_accountStatus int64) error
- func (r *TaobaoSubusersPageAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoSubusersPageAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoSubusersPageAPIRequest) SetUserNick(_userNick string) error
- type TaobaoSubusersPageAPIResponse
- type TaobaoSubusersPageAPIResponseModel
- type TaobaoSubusersSubaccountSearchAPIRequest
- func (r TaobaoSubusersSubaccountSearchAPIRequest) GetApiMethodName() string
- func (r TaobaoSubusersSubaccountSearchAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoSubusersSubaccountSearchAPIRequest) GetFilterKey() string
- func (r TaobaoSubusersSubaccountSearchAPIRequest) GetMainNick() string
- func (r TaobaoSubusersSubaccountSearchAPIRequest) GetPageNum() int64
- func (r TaobaoSubusersSubaccountSearchAPIRequest) GetPageSize() int64
- func (r TaobaoSubusersSubaccountSearchAPIRequest) GetRawParams() model.Params
- func (r *TaobaoSubusersSubaccountSearchAPIRequest) Reset()
- func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetFilterKey(_filterKey string) error
- func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetMainNick(_mainNick string) error
- func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetPageNum(_pageNum int64) error
- func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoSubusersSubaccountSearchAPIResponse
- type TaobaoSubusersSubaccountSearchAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseDepartment ¶ added in v1.3.4
func ReleaseDepartment(v *Department)
ReleaseDepartment 释放Department
func ReleasePermission ¶ added in v1.3.4
func ReleasePermission(v *Permission)
ReleasePermission 释放Permission
func ReleaseSubAccountInfo ¶ added in v1.3.4
func ReleaseSubAccountInfo(v *SubAccountInfo)
ReleaseSubAccountInfo 释放SubAccountInfo
func ReleaseSubUserDo ¶ added in v1.3.4
func ReleaseSubUserDo(v *SubUserDo)
ReleaseSubUserDo 释放SubUserDo
func ReleaseSubUserFullInfo ¶ added in v1.3.4
func ReleaseSubUserFullInfo(v *SubUserFullInfo)
ReleaseSubUserFullInfo 释放SubUserFullInfo
func ReleaseSubUserInfo ¶ added in v1.3.4
func ReleaseSubUserInfo(v *SubUserInfo)
ReleaseSubUserInfo 释放SubUserInfo
func ReleaseSubUserPermission ¶ added in v1.3.4
func ReleaseSubUserPermission(v *SubUserPermission)
ReleaseSubUserPermission 释放SubUserPermission
func ReleaseTaobaoSellercenterRoleAddAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSellercenterRoleAddAPIRequest(v *TaobaoSellercenterRoleAddAPIRequest)
ReleaseTaobaoSellercenterRoleAddAPIRequest 将 TaobaoSellercenterRoleAddAPIRequest 放入 sync.Pool
func ReleaseTaobaoSellercenterRoleAddAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSellercenterRoleAddAPIResponse(v *TaobaoSellercenterRoleAddAPIResponse)
ReleaseTaobaoSellercenterRoleAddAPIResponse 将 TaobaoSellercenterRoleAddAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSellercenterRolesGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSellercenterRolesGetAPIRequest(v *TaobaoSellercenterRolesGetAPIRequest)
ReleaseTaobaoSellercenterRolesGetAPIRequest 将 TaobaoSellercenterRolesGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSellercenterRolesGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSellercenterRolesGetAPIResponse(v *TaobaoSellercenterRolesGetAPIResponse)
ReleaseTaobaoSellercenterRolesGetAPIResponse 将 TaobaoSellercenterRolesGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIRequest(v *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest)
ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIRequest 将 TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIResponse(v *TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse)
ReleaseTaobaoSellercenterSubuserPermissionsRolesGetAPIResponse 将 TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSellercenterSubusersGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSellercenterSubusersGetAPIRequest(v *TaobaoSellercenterSubusersGetAPIRequest)
ReleaseTaobaoSellercenterSubusersGetAPIRequest 将 TaobaoSellercenterSubusersGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSellercenterSubusersGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSellercenterSubusersGetAPIResponse(v *TaobaoSellercenterSubusersGetAPIResponse)
ReleaseTaobaoSellercenterSubusersGetAPIResponse 将 TaobaoSellercenterSubusersGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSellercenterSubusersPageAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSellercenterSubusersPageAPIRequest(v *TaobaoSellercenterSubusersPageAPIRequest)
ReleaseTaobaoSellercenterSubusersPageAPIRequest 将 TaobaoSellercenterSubusersPageAPIRequest 放入 sync.Pool
func ReleaseTaobaoSellercenterSubusersPageAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSellercenterSubusersPageAPIResponse(v *TaobaoSellercenterSubusersPageAPIResponse)
ReleaseTaobaoSellercenterSubusersPageAPIResponse 将 TaobaoSellercenterSubusersPageAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSellercenterUserPermissionsGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSellercenterUserPermissionsGetAPIRequest(v *TaobaoSellercenterUserPermissionsGetAPIRequest)
ReleaseTaobaoSellercenterUserPermissionsGetAPIRequest 将 TaobaoSellercenterUserPermissionsGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSellercenterUserPermissionsGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSellercenterUserPermissionsGetAPIResponse(v *TaobaoSellercenterUserPermissionsGetAPIResponse)
ReleaseTaobaoSellercenterUserPermissionsGetAPIResponse 将 TaobaoSellercenterUserPermissionsGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubuserDepartmentsGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubuserDepartmentsGetAPIRequest(v *TaobaoSubuserDepartmentsGetAPIRequest)
ReleaseTaobaoSubuserDepartmentsGetAPIRequest 将 TaobaoSubuserDepartmentsGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubuserDepartmentsGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubuserDepartmentsGetAPIResponse(v *TaobaoSubuserDepartmentsGetAPIResponse)
ReleaseTaobaoSubuserDepartmentsGetAPIResponse 将 TaobaoSubuserDepartmentsGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubuserDutysGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubuserDutysGetAPIRequest(v *TaobaoSubuserDutysGetAPIRequest)
ReleaseTaobaoSubuserDutysGetAPIRequest 将 TaobaoSubuserDutysGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubuserDutysGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubuserDutysGetAPIResponse(v *TaobaoSubuserDutysGetAPIResponse)
ReleaseTaobaoSubuserDutysGetAPIResponse 将 TaobaoSubuserDutysGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubuserFullinfoGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubuserFullinfoGetAPIRequest(v *TaobaoSubuserFullinfoGetAPIRequest)
ReleaseTaobaoSubuserFullinfoGetAPIRequest 将 TaobaoSubuserFullinfoGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubuserFullinfoGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubuserFullinfoGetAPIResponse(v *TaobaoSubuserFullinfoGetAPIResponse)
ReleaseTaobaoSubuserFullinfoGetAPIResponse 将 TaobaoSubuserFullinfoGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubuserInfoUpdateAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubuserInfoUpdateAPIRequest(v *TaobaoSubuserInfoUpdateAPIRequest)
ReleaseTaobaoSubuserInfoUpdateAPIRequest 将 TaobaoSubuserInfoUpdateAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubuserInfoUpdateAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubuserInfoUpdateAPIResponse(v *TaobaoSubuserInfoUpdateAPIResponse)
ReleaseTaobaoSubuserInfoUpdateAPIResponse 将 TaobaoSubuserInfoUpdateAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubusersGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubusersGetAPIRequest(v *TaobaoSubusersGetAPIRequest)
ReleaseTaobaoSubusersGetAPIRequest 将 TaobaoSubusersGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubusersGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubusersGetAPIResponse(v *TaobaoSubusersGetAPIResponse)
ReleaseTaobaoSubusersGetAPIResponse 将 TaobaoSubusersGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubusersInfoQueryAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubusersInfoQueryAPIRequest(v *TaobaoSubusersInfoQueryAPIRequest)
ReleaseTaobaoSubusersInfoQueryAPIRequest 将 TaobaoSubusersInfoQueryAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubusersInfoQueryAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubusersInfoQueryAPIResponse(v *TaobaoSubusersInfoQueryAPIResponse)
ReleaseTaobaoSubusersInfoQueryAPIResponse 将 TaobaoSubusersInfoQueryAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubusersPageAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubusersPageAPIRequest(v *TaobaoSubusersPageAPIRequest)
ReleaseTaobaoSubusersPageAPIRequest 将 TaobaoSubusersPageAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubusersPageAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubusersPageAPIResponse(v *TaobaoSubusersPageAPIResponse)
ReleaseTaobaoSubusersPageAPIResponse 将 TaobaoSubusersPageAPIResponse 保存到 sync.Pool
func ReleaseTaobaoSubusersSubaccountSearchAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoSubusersSubaccountSearchAPIRequest(v *TaobaoSubusersSubaccountSearchAPIRequest)
ReleaseTaobaoSubusersSubaccountSearchAPIRequest 将 TaobaoSubusersSubaccountSearchAPIRequest 放入 sync.Pool
func ReleaseTaobaoSubusersSubaccountSearchAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoSubusersSubaccountSearchAPIResponse(v *TaobaoSubusersSubaccountSearchAPIResponse)
ReleaseTaobaoSubusersSubaccountSearchAPIResponse 将 TaobaoSubusersSubaccountSearchAPIResponse 保存到 sync.Pool
Types ¶
type Department ¶
type Department struct { // 部门下关联的子账号id列表 SubUserIds []int64 `json:"sub_user_ids,omitempty" xml:"sub_user_ids>int64,omitempty"` // 部门名称 DepartmentName string `json:"department_name,omitempty" xml:"department_name,omitempty"` // 部门ID DepartmentId int64 `json:"department_id,omitempty" xml:"department_id,omitempty"` // 当前部门的父部门ID ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` }
Department 结构体
func GetDepartment ¶ added in v1.3.4
func GetDepartment() *Department
GetDepartment() 从对象池中获取Department
type Duty ¶
type Duty struct { // 职务名称 DutyName string `json:"duty_name,omitempty" xml:"duty_name,omitempty"` // 职务ID DutyId int64 `json:"duty_id,omitempty" xml:"duty_id,omitempty"` // 职务级别 DutyLevel int64 `json:"duty_level,omitempty" xml:"duty_level,omitempty"` }
Duty 结构体
type Permission ¶
type Permission struct { // 注册到权限中心的code值 PermissionCode string `json:"permission_code,omitempty" xml:"permission_code,omitempty"` // 权限名称 PermissionName string `json:"permission_name,omitempty" xml:"permission_name,omitempty"` // 父权限code ParentCode string `json:"parent_code,omitempty" xml:"parent_code,omitempty"` // 1 :允许授权 2:不允许授权 6:不允许授权但默认已有权限 IsAuthorize int64 `json:"is_authorize,omitempty" xml:"is_authorize,omitempty"` }
Permission 结构体
func GetPermission ¶ added in v1.3.4
func GetPermission() *Permission
GetPermission() 从对象池中获取Permission
type Role ¶
type Role struct { // 所拥有权限 Permissions []Permission `json:"permissions,omitempty" xml:"permissions>permission,omitempty"` // 角色描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // 修改时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 角色名 RoleName string `json:"role_name,omitempty" xml:"role_name,omitempty"` // 角色id RoleId int64 `json:"role_id,omitempty" xml:"role_id,omitempty"` // 卖家Id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` }
Role 结构体
type SubAccountInfo ¶
type SubAccountInfo struct { // zhangsan:no1 SubNick string `json:"sub_nick,omitempty" xml:"sub_nick,omitempty"` // zhangsan UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 小红 SubName string `json:"sub_name,omitempty" xml:"sub_name,omitempty"` // 主账号id SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 123456 SubId int64 `json:"sub_id,omitempty" xml:"sub_id,omitempty"` // 1 SubStatus int64 `json:"sub_status,omitempty" xml:"sub_status,omitempty"` // 654321 UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 子账号状态, 1正常 2冻结 3处罚 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // true SubDispatchStatus bool `json:"sub_dispatch_status,omitempty" xml:"sub_dispatch_status,omitempty"` // true SubOwedStatus bool `json:"sub_owed_status,omitempty" xml:"sub_owed_status,omitempty"` }
SubAccountInfo 结构体
func GetSubAccountInfo ¶ added in v1.3.4
func GetSubAccountInfo() *SubAccountInfo
GetSubAccountInfo() 从对象池中获取SubAccountInfo
type SubUserDo ¶ added in v1.2.5
type SubUserDo struct { // 子账号用户名 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 主账号昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 子账号Id SubId int64 `json:"sub_id,omitempty" xml:"sub_id,omitempty"` // 子账号当前状态 1正常 -1删除 2冻结 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 子账号所属的主账号的唯一标识 SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` }
SubUserDo 结构体
type SubUserFullInfo ¶
type SubUserFullInfo struct { // 工作地点 WorkLocation string `json:"work_location,omitempty" xml:"work_location,omitempty"` // 员工花名 EmployeeNickname string `json:"employee_nickname,omitempty" xml:"employee_nickname,omitempty"` // 主账号企业邮箱 UserEmail string `json:"user_email,omitempty" xml:"user_email,omitempty"` // 职务名称 DutyName string `json:"duty_name,omitempty" xml:"duty_name,omitempty"` // 员工姓名 EmployeeName string `json:"employee_name,omitempty" xml:"employee_name,omitempty"` // 入职员工工号 EmployeeNum string `json:"employee_num,omitempty" xml:"employee_num,omitempty"` // 员工入职时间 EntryDate string `json:"entry_date,omitempty" xml:"entry_date,omitempty"` // 部门名称 DepartmentName string `json:"department_name,omitempty" xml:"department_name,omitempty"` // 子账号用户名 SubNick string `json:"sub_nick,omitempty" xml:"sub_nick,omitempty"` // 主账号用户名 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 办公电话 OfficePhone string `json:"office_phone,omitempty" xml:"office_phone,omitempty"` // 子账号企业邮箱 SubuserEmail string `json:"subuser_email,omitempty" xml:"subuser_email,omitempty"` // 员工性别 1:男; 2:女 Sex int64 `json:"sex,omitempty" xml:"sex,omitempty"` // 子账号Id SubId int64 `json:"sub_id,omitempty" xml:"sub_id,omitempty"` // 子账号当前状态:1正常,2卖家停用,3处罚冻结 SubStatus int64 `json:"sub_status,omitempty" xml:"sub_status,omitempty"` // 部门Id DepartmentId int64 `json:"department_id,omitempty" xml:"department_id,omitempty"` // 职务等级 DutyLevel int64 `json:"duty_level,omitempty" xml:"duty_level,omitempty"` // 直接上级的员工ID LeaderId int64 `json:"leader_id,omitempty" xml:"leader_id,omitempty"` // 父部门Id ParentDepartment int64 `json:"parent_department,omitempty" xml:"parent_department,omitempty"` // 职务Id DutyId int64 `json:"duty_id,omitempty" xml:"duty_id,omitempty"` // 主账号Id UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 员工ID EmployeeId int64 `json:"employee_id,omitempty" xml:"employee_id,omitempty"` // 子账号是否参与分流 true:参与分流 false:未参与分流 SubDispatchStatus bool `json:"sub_dispatch_status,omitempty" xml:"sub_dispatch_status,omitempty"` // 子账号是否已欠费 true:已欠费 false:未欠费 SubOwedStatus bool `json:"sub_owed_status,omitempty" xml:"sub_owed_status,omitempty"` }
SubUserFullInfo 结构体
func GetSubUserFullInfo ¶ added in v1.3.4
func GetSubUserFullInfo() *SubUserFullInfo
GetSubUserFullInfo() 从对象池中获取SubUserFullInfo
type SubUserInfo ¶
type SubUserInfo struct { // 子账号用户名 Nick string `json:"nick,omitempty" xml:"nick,omitempty"` // 主账号昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 子账号姓名 FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"` // 是否参与分流 1不参与 2参与 IsOnline int64 `json:"is_online,omitempty" xml:"is_online,omitempty"` // 子账号Id SubId int64 `json:"sub_id,omitempty" xml:"sub_id,omitempty"` // 子账号当前状态 1正常 -1删除 2冻结 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 子账号所属的主账号的唯一标识 SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` }
SubUserInfo 结构体
func GetSubUserInfo ¶ added in v1.3.4
func GetSubUserInfo() *SubUserInfo
GetSubUserInfo() 从对象池中获取SubUserInfo
type SubUserPermission ¶
type SubUserPermission struct { // 子账号被赋予的角色信息(Role)列表。列表中的角色对象只有role_id,role_name,permissions信息 Roles []Role `json:"roles,omitempty" xml:"roles>role,omitempty"` // 子账号被直接赋予的权限点列表 Permissions []Permission `json:"permissions,omitempty" xml:"permissions>permission,omitempty"` }
SubUserPermission 结构体
func GetSubUserPermission ¶ added in v1.3.4
func GetSubUserPermission() *SubUserPermission
GetSubUserPermission() 从对象池中获取SubUserPermission
type TaobaoSellercenterRoleAddAPIRequest ¶ added in v1.2.0
type TaobaoSellercenterRoleAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSellercenterRoleAddAPIRequest 子账号角色的新增(指定卖家) API请求 taobao.sellercenter.role.add
给指定的卖家创建新的子账号角色<br/><br/>如果需要授权的权限点有下级权限点或上级权限点,把该权限点的父权限点和该权限点的所有子权限都一并做赋权操作,并递归处理<br/>例如:权限点列表如下<br/><br/>code=sell 宝贝管理<br/><br/>---------|code=sm 店铺管理<br/><br/>---------|---------|code=sm-design 如店铺装修<br/><br/>---------|---------|---------|code=sm-tbd-visit内店装修入口<br/><br/>---------|---------|---------|code=sm-tbd-publish内店装修发布<br/><br/>---------|---------|code=phone 手机淘宝店铺<br/><br/>调用改接口给code=sm-design店铺装修赋权时,同时会将下列权限点都赋予默认角色<br/><br/>code=sell 宝贝管理<br/><br/>---------|code=sm 店铺管理<br/><br/>---------|---------|code=sm-design 如店铺装修<br/><br/>---------|---------|---------|code=sm-tbd-visit内店装修入口<br/><br/>---------|---------|---------|code=sm-tbd-publish内店装修发布<br/>
func GetTaobaoSellercenterRoleAddAPIRequest ¶ added in v1.3.4
func GetTaobaoSellercenterRoleAddAPIRequest() *TaobaoSellercenterRoleAddAPIRequest
GetTaobaoSellercenterRoleAddRequest 从 sync.Pool 获取 TaobaoSellercenterRoleAddAPIRequest
func NewTaobaoSellercenterRoleAddRequest ¶
func NewTaobaoSellercenterRoleAddRequest() *TaobaoSellercenterRoleAddAPIRequest
NewTaobaoSellercenterRoleAddRequest 初始化TaobaoSellercenterRoleAddAPIRequest对象
func (TaobaoSellercenterRoleAddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSellercenterRoleAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSellercenterRoleAddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSellercenterRoleAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSellercenterRoleAddAPIRequest) GetDescription ¶ added in v1.2.0
func (r TaobaoSellercenterRoleAddAPIRequest) GetDescription() string
GetDescription Description Getter
func (TaobaoSellercenterRoleAddAPIRequest) GetName ¶ added in v1.2.0
func (r TaobaoSellercenterRoleAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoSellercenterRoleAddAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoSellercenterRoleAddAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoSellercenterRoleAddAPIRequest) GetPermissionCodes ¶ added in v1.2.0
func (r TaobaoSellercenterRoleAddAPIRequest) GetPermissionCodes() []string
GetPermissionCodes PermissionCodes Getter
func (TaobaoSellercenterRoleAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSellercenterRoleAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoSellercenterRoleAddAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSellercenterRoleAddAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSellercenterRoleAddAPIRequest) SetDescription ¶ added in v1.2.0
func (r *TaobaoSellercenterRoleAddAPIRequest) SetDescription(_description string) error
SetDescription is Description Setter 角色描述
func (*TaobaoSellercenterRoleAddAPIRequest) SetName ¶ added in v1.2.0
func (r *TaobaoSellercenterRoleAddAPIRequest) SetName(_name string) error
SetName is Name Setter 角色名
func (*TaobaoSellercenterRoleAddAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoSellercenterRoleAddAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 表示卖家昵称
func (*TaobaoSellercenterRoleAddAPIRequest) SetPermissionCodes ¶ added in v1.2.0
func (r *TaobaoSellercenterRoleAddAPIRequest) SetPermissionCodes(_permissionCodes []string) error
SetPermissionCodes is PermissionCodes Setter 需要授权的权限点permission_code列表,以","分割.其code值可以通过调用taobao.sellercenter.user.permissions.get返回,其中permission.is_authorize=1的权限点可以通过本接口授权给对应角色。
type TaobaoSellercenterRoleAddAPIResponse ¶
type TaobaoSellercenterRoleAddAPIResponse struct { model.CommonResponse TaobaoSellercenterRoleAddAPIResponseModel }
TaobaoSellercenterRoleAddAPIResponse 子账号角色的新增(指定卖家) API返回值 taobao.sellercenter.role.add
给指定的卖家创建新的子账号角色<br/><br/>如果需要授权的权限点有下级权限点或上级权限点,把该权限点的父权限点和该权限点的所有子权限都一并做赋权操作,并递归处理<br/>例如:权限点列表如下<br/><br/>code=sell 宝贝管理<br/><br/>---------|code=sm 店铺管理<br/><br/>---------|---------|code=sm-design 如店铺装修<br/><br/>---------|---------|---------|code=sm-tbd-visit内店装修入口<br/><br/>---------|---------|---------|code=sm-tbd-publish内店装修发布<br/><br/>---------|---------|code=phone 手机淘宝店铺<br/><br/>调用改接口给code=sm-design店铺装修赋权时,同时会将下列权限点都赋予默认角色<br/><br/>code=sell 宝贝管理<br/><br/>---------|code=sm 店铺管理<br/><br/>---------|---------|code=sm-design 如店铺装修<br/><br/>---------|---------|---------|code=sm-tbd-visit内店装修入口<br/><br/>---------|---------|---------|code=sm-tbd-publish内店装修发布<br/>
func GetTaobaoSellercenterRoleAddAPIResponse ¶ added in v1.3.4
func GetTaobaoSellercenterRoleAddAPIResponse() *TaobaoSellercenterRoleAddAPIResponse
GetTaobaoSellercenterRoleAddAPIResponse 从 sync.Pool 获取 TaobaoSellercenterRoleAddAPIResponse
func (*TaobaoSellercenterRoleAddAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterRoleAddAPIResponse) Reset()
Reset 清空结构体
type TaobaoSellercenterRoleAddAPIResponseModel ¶ added in v1.2.0
type TaobaoSellercenterRoleAddAPIResponseModel struct { XMLName xml.Name `xml:"sellercenter_role_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号角色 Role *Role `json:"role,omitempty" xml:"role,omitempty"` }
TaobaoSellercenterRoleAddAPIResponseModel is 子账号角色的新增(指定卖家) 成功返回结果
func (*TaobaoSellercenterRoleAddAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterRoleAddAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSellercenterRolesGetAPIRequest ¶ added in v1.2.0
type TaobaoSellercenterRolesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSellercenterRolesGetAPIRequest 获取指定卖家的角色列表 API请求 taobao.sellercenter.roles.get
获取指定卖家的角色列表,只能获取属于登陆者自己的信息。
func GetTaobaoSellercenterRolesGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSellercenterRolesGetAPIRequest() *TaobaoSellercenterRolesGetAPIRequest
GetTaobaoSellercenterRolesGetRequest 从 sync.Pool 获取 TaobaoSellercenterRolesGetAPIRequest
func NewTaobaoSellercenterRolesGetRequest ¶
func NewTaobaoSellercenterRolesGetRequest() *TaobaoSellercenterRolesGetAPIRequest
NewTaobaoSellercenterRolesGetRequest 初始化TaobaoSellercenterRolesGetAPIRequest对象
func (TaobaoSellercenterRolesGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSellercenterRolesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSellercenterRolesGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSellercenterRolesGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSellercenterRolesGetAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoSellercenterRolesGetAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoSellercenterRolesGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSellercenterRolesGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoSellercenterRolesGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSellercenterRolesGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSellercenterRolesGetAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoSellercenterRolesGetAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 卖家昵称(只允许查询自己的信息:当前登陆者)
type TaobaoSellercenterRolesGetAPIResponse ¶
type TaobaoSellercenterRolesGetAPIResponse struct { model.CommonResponse TaobaoSellercenterRolesGetAPIResponseModel }
TaobaoSellercenterRolesGetAPIResponse 获取指定卖家的角色列表 API返回值 taobao.sellercenter.roles.get
获取指定卖家的角色列表,只能获取属于登陆者自己的信息。
func GetTaobaoSellercenterRolesGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSellercenterRolesGetAPIResponse() *TaobaoSellercenterRolesGetAPIResponse
GetTaobaoSellercenterRolesGetAPIResponse 从 sync.Pool 获取 TaobaoSellercenterRolesGetAPIResponse
func (*TaobaoSellercenterRolesGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterRolesGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSellercenterRolesGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSellercenterRolesGetAPIResponseModel struct { XMLName xml.Name `xml:"sellercenter_roles_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 卖家子账号角色列表。<br/>返回对象为 role数据对象中的role_id,role_name,description,seller_id,create_time,modified_time。不包含permissions(权限点) Roles []Role `json:"roles,omitempty" xml:"roles>role,omitempty"` }
TaobaoSellercenterRolesGetAPIResponseModel is 获取指定卖家的角色列表 成功返回结果
func (*TaobaoSellercenterRolesGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterRolesGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest ¶ added in v1.2.0
type TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest 查询指定的子账号的权限和角色信息 API请求 taobao.sellercenter.subuser.permissions.roles.get
查询指定的子账号的被直接赋予的权限信息和角色信息。<br/>返回对象中包括直接赋予子账号的权限点信息、被赋予的角色以及角色的对应权限点信息。
func GetTaobaoSellercenterSubuserPermissionsRolesGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSellercenterSubuserPermissionsRolesGetAPIRequest() *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest
GetTaobaoSellercenterSubuserPermissionsRolesGetRequest 从 sync.Pool 获取 TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest
func NewTaobaoSellercenterSubuserPermissionsRolesGetRequest ¶
func NewTaobaoSellercenterSubuserPermissionsRolesGetRequest() *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest
NewTaobaoSellercenterSubuserPermissionsRolesGetRequest 初始化TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest对象
func (TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 子账号昵称(子账号标识)
type TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse ¶
type TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse struct { model.CommonResponse TaobaoSellercenterSubuserPermissionsRolesGetAPIResponseModel }
TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse 查询指定的子账号的权限和角色信息 API返回值 taobao.sellercenter.subuser.permissions.roles.get
查询指定的子账号的被直接赋予的权限信息和角色信息。<br/>返回对象中包括直接赋予子账号的权限点信息、被赋予的角色以及角色的对应权限点信息。
func GetTaobaoSellercenterSubuserPermissionsRolesGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSellercenterSubuserPermissionsRolesGetAPIResponse() *TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse
GetTaobaoSellercenterSubuserPermissionsRolesGetAPIResponse 从 sync.Pool 获取 TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse
func (*TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSellercenterSubuserPermissionsRolesGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSellercenterSubuserPermissionsRolesGetAPIResponseModel struct { XMLName xml.Name `xml:"sellercenter_subuser_permissions_roles_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号被所拥有的权限 SubuserPermission *SubUserPermission `json:"subuser_permission,omitempty" xml:"subuser_permission,omitempty"` }
TaobaoSellercenterSubuserPermissionsRolesGetAPIResponseModel is 查询指定的子账号的权限和角色信息 成功返回结果
func (*TaobaoSellercenterSubuserPermissionsRolesGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterSubuserPermissionsRolesGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSellercenterSubusersGetAPIRequest ¶ added in v1.2.0
type TaobaoSellercenterSubusersGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSellercenterSubusersGetAPIRequest 查询指定账户的子账号列表 API请求 taobao.sellercenter.subusers.get
根据主账号nick查询该账号下所有的子账号列表,只能查询属于自己的账号信息 (主账号以及所属子账号)
func GetTaobaoSellercenterSubusersGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSellercenterSubusersGetAPIRequest() *TaobaoSellercenterSubusersGetAPIRequest
GetTaobaoSellercenterSubusersGetRequest 从 sync.Pool 获取 TaobaoSellercenterSubusersGetAPIRequest
func NewTaobaoSellercenterSubusersGetRequest ¶
func NewTaobaoSellercenterSubusersGetRequest() *TaobaoSellercenterSubusersGetAPIRequest
NewTaobaoSellercenterSubusersGetRequest 初始化TaobaoSellercenterSubusersGetAPIRequest对象
func (TaobaoSellercenterSubusersGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSellercenterSubusersGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSellercenterSubusersGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSellercenterSubusersGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSellercenterSubusersGetAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoSellercenterSubusersGetAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoSellercenterSubusersGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSellercenterSubusersGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoSellercenterSubusersGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSellercenterSubusersGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSellercenterSubusersGetAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoSellercenterSubusersGetAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 表示卖家昵称
type TaobaoSellercenterSubusersGetAPIResponse ¶
type TaobaoSellercenterSubusersGetAPIResponse struct { model.CommonResponse TaobaoSellercenterSubusersGetAPIResponseModel }
TaobaoSellercenterSubusersGetAPIResponse 查询指定账户的子账号列表 API返回值 taobao.sellercenter.subusers.get
根据主账号nick查询该账号下所有的子账号列表,只能查询属于自己的账号信息 (主账号以及所属子账号)
func GetTaobaoSellercenterSubusersGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSellercenterSubusersGetAPIResponse() *TaobaoSellercenterSubusersGetAPIResponse
GetTaobaoSellercenterSubusersGetAPIResponse 从 sync.Pool 获取 TaobaoSellercenterSubusersGetAPIResponse
func (*TaobaoSellercenterSubusersGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterSubusersGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSellercenterSubusersGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSellercenterSubusersGetAPIResponseModel struct { XMLName xml.Name `xml:"sellercenter_subusers_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号基本信息列表。具体信息为id、子账号用户名、主账号id、主账号昵称、当前状态值、是否分流 Subusers []SubUserInfo `json:"subusers,omitempty" xml:"subusers>sub_user_info,omitempty"` }
TaobaoSellercenterSubusersGetAPIResponseModel is 查询指定账户的子账号列表 成功返回结果
func (*TaobaoSellercenterSubusersGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterSubusersGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSellercenterSubusersPageAPIRequest ¶ added in v1.2.5
type TaobaoSellercenterSubusersPageAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSellercenterSubusersPageAPIRequest 通过主账号登陆态分页查询子账号列表 API请求 taobao.sellercenter.subusers.page
通过主账号登陆态分页查询子账号列表
func GetTaobaoSellercenterSubusersPageAPIRequest ¶ added in v1.3.4
func GetTaobaoSellercenterSubusersPageAPIRequest() *TaobaoSellercenterSubusersPageAPIRequest
GetTaobaoSellercenterSubusersPageRequest 从 sync.Pool 获取 TaobaoSellercenterSubusersPageAPIRequest
func NewTaobaoSellercenterSubusersPageRequest ¶ added in v1.2.5
func NewTaobaoSellercenterSubusersPageRequest() *TaobaoSellercenterSubusersPageAPIRequest
NewTaobaoSellercenterSubusersPageRequest 初始化TaobaoSellercenterSubusersPageAPIRequest对象
func (TaobaoSellercenterSubusersPageAPIRequest) GetAccountStatus ¶ added in v1.2.5
func (r TaobaoSellercenterSubusersPageAPIRequest) GetAccountStatus() int64
GetAccountStatus AccountStatus Getter
func (TaobaoSellercenterSubusersPageAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoSellercenterSubusersPageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSellercenterSubusersPageAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoSellercenterSubusersPageAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSellercenterSubusersPageAPIRequest) GetNick ¶ added in v1.2.5
func (r TaobaoSellercenterSubusersPageAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoSellercenterSubusersPageAPIRequest) GetPageNum ¶ added in v1.2.5
func (r TaobaoSellercenterSubusersPageAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoSellercenterSubusersPageAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoSellercenterSubusersPageAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoSellercenterSubusersPageAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSellercenterSubusersPageAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoSellercenterSubusersPageAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSellercenterSubusersPageAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSellercenterSubusersPageAPIRequest) SetAccountStatus ¶ added in v1.2.5
func (r *TaobaoSellercenterSubusersPageAPIRequest) SetAccountStatus(_accountStatus int64) error
SetAccountStatus is AccountStatus Setter 可以不传,不传的话和老接口返回数据一样。如果传则根据子账号当前状态筛选 1正常 2冻结 3处罚,如果不传默认都返回
func (*TaobaoSellercenterSubusersPageAPIRequest) SetNick ¶ added in v1.2.5
func (r *TaobaoSellercenterSubusersPageAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 主账号登陆nick
func (*TaobaoSellercenterSubusersPageAPIRequest) SetPageNum ¶ added in v1.2.5
func (r *TaobaoSellercenterSubusersPageAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 页码,大于等于1
func (*TaobaoSellercenterSubusersPageAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoSellercenterSubusersPageAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,大于1小于200
type TaobaoSellercenterSubusersPageAPIResponse ¶ added in v1.2.5
type TaobaoSellercenterSubusersPageAPIResponse struct { model.CommonResponse TaobaoSellercenterSubusersPageAPIResponseModel }
TaobaoSellercenterSubusersPageAPIResponse 通过主账号登陆态分页查询子账号列表 API返回值 taobao.sellercenter.subusers.page
通过主账号登陆态分页查询子账号列表
func GetTaobaoSellercenterSubusersPageAPIResponse ¶ added in v1.3.4
func GetTaobaoSellercenterSubusersPageAPIResponse() *TaobaoSellercenterSubusersPageAPIResponse
GetTaobaoSellercenterSubusersPageAPIResponse 从 sync.Pool 获取 TaobaoSellercenterSubusersPageAPIResponse
func (*TaobaoSellercenterSubusersPageAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterSubusersPageAPIResponse) Reset()
Reset 清空结构体
type TaobaoSellercenterSubusersPageAPIResponseModel ¶ added in v1.2.5
type TaobaoSellercenterSubusersPageAPIResponseModel struct { XMLName xml.Name `xml:"sellercenter_subusers_page_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号基本信息列表。具体信息为id、子账号用户名、主账号id、主账号昵称、当前状态值、是否分流 Subusers []SubUserInfo `json:"subusers,omitempty" xml:"subusers>sub_user_info,omitempty"` // isv本次调用传入的页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 本次调用删选条件下的总子账号数量,除以页大小可得出最大页数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // isv本次调用传入的页码 PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"` }
TaobaoSellercenterSubusersPageAPIResponseModel is 通过主账号登陆态分页查询子账号列表 成功返回结果
func (*TaobaoSellercenterSubusersPageAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterSubusersPageAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSellercenterUserPermissionsGetAPIRequest ¶ added in v1.2.0
type TaobaoSellercenterUserPermissionsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSellercenterUserPermissionsGetAPIRequest 获取指定用户的权限集合 API请求 taobao.sellercenter.user.permissions.get
获取指定用户的权限集合,并不组装成树。如果是主账号,返回所有的权限列表;如果是子账号,返回所有已授权的权限。只能查询属于自己的账号信息 (如果是主账号,则是主账号以及所属子账号,如果是子账号则是对应主账号以及所属子账号)
func GetTaobaoSellercenterUserPermissionsGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSellercenterUserPermissionsGetAPIRequest() *TaobaoSellercenterUserPermissionsGetAPIRequest
GetTaobaoSellercenterUserPermissionsGetRequest 从 sync.Pool 获取 TaobaoSellercenterUserPermissionsGetAPIRequest
func NewTaobaoSellercenterUserPermissionsGetRequest ¶
func NewTaobaoSellercenterUserPermissionsGetRequest() *TaobaoSellercenterUserPermissionsGetAPIRequest
NewTaobaoSellercenterUserPermissionsGetRequest 初始化TaobaoSellercenterUserPermissionsGetAPIRequest对象
func (TaobaoSellercenterUserPermissionsGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSellercenterUserPermissionsGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSellercenterUserPermissionsGetAPIRequest) GetNick ¶ added in v1.2.0
func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetNick() string
GetNick Nick Getter
func (TaobaoSellercenterUserPermissionsGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSellercenterUserPermissionsGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoSellercenterUserPermissionsGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSellercenterUserPermissionsGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSellercenterUserPermissionsGetAPIRequest) SetNick ¶ added in v1.2.0
func (r *TaobaoSellercenterUserPermissionsGetAPIRequest) SetNick(_nick string) error
SetNick is Nick Setter 用户标识,次入参必须为子账号比如zhangsan:cool。如果只输入主账号zhangsan,将报错。
type TaobaoSellercenterUserPermissionsGetAPIResponse ¶
type TaobaoSellercenterUserPermissionsGetAPIResponse struct { model.CommonResponse TaobaoSellercenterUserPermissionsGetAPIResponseModel }
TaobaoSellercenterUserPermissionsGetAPIResponse 获取指定用户的权限集合 API返回值 taobao.sellercenter.user.permissions.get
获取指定用户的权限集合,并不组装成树。如果是主账号,返回所有的权限列表;如果是子账号,返回所有已授权的权限。只能查询属于自己的账号信息 (如果是主账号,则是主账号以及所属子账号,如果是子账号则是对应主账号以及所属子账号)
func GetTaobaoSellercenterUserPermissionsGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSellercenterUserPermissionsGetAPIResponse() *TaobaoSellercenterUserPermissionsGetAPIResponse
GetTaobaoSellercenterUserPermissionsGetAPIResponse 从 sync.Pool 获取 TaobaoSellercenterUserPermissionsGetAPIResponse
func (*TaobaoSellercenterUserPermissionsGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterUserPermissionsGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSellercenterUserPermissionsGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSellercenterUserPermissionsGetAPIResponseModel struct { XMLName xml.Name `xml:"sellercenter_user_permissions_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 权限列表 Permissions []Permission `json:"permissions,omitempty" xml:"permissions>permission,omitempty"` }
TaobaoSellercenterUserPermissionsGetAPIResponseModel is 获取指定用户的权限集合 成功返回结果
func (*TaobaoSellercenterUserPermissionsGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSellercenterUserPermissionsGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubuserDepartmentsGetAPIRequest ¶ added in v1.2.0
type TaobaoSubuserDepartmentsGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSubuserDepartmentsGetAPIRequest 获取指定账户的所有部门列表 API请求 taobao.subuser.departments.get
获取指定账户的所有部门列表,其实包括有每个部门的ID、父部门ID、部门名称(通过主账号登陆只能查询属于该主账号下的所有部门信息)。
func GetTaobaoSubuserDepartmentsGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSubuserDepartmentsGetAPIRequest() *TaobaoSubuserDepartmentsGetAPIRequest
GetTaobaoSubuserDepartmentsGetRequest 从 sync.Pool 获取 TaobaoSubuserDepartmentsGetAPIRequest
func NewTaobaoSubuserDepartmentsGetRequest ¶
func NewTaobaoSubuserDepartmentsGetRequest() *TaobaoSubuserDepartmentsGetAPIRequest
NewTaobaoSubuserDepartmentsGetRequest 初始化TaobaoSubuserDepartmentsGetAPIRequest对象
func (TaobaoSubuserDepartmentsGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSubuserDepartmentsGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubuserDepartmentsGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSubuserDepartmentsGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubuserDepartmentsGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubuserDepartmentsGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSubuserDepartmentsGetAPIRequest) GetUserNick ¶ added in v1.2.0
func (r TaobaoSubuserDepartmentsGetAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoSubuserDepartmentsGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubuserDepartmentsGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubuserDepartmentsGetAPIRequest) SetUserNick ¶ added in v1.2.0
func (r *TaobaoSubuserDepartmentsGetAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 主账号用户名
type TaobaoSubuserDepartmentsGetAPIResponse ¶
type TaobaoSubuserDepartmentsGetAPIResponse struct { model.CommonResponse TaobaoSubuserDepartmentsGetAPIResponseModel }
TaobaoSubuserDepartmentsGetAPIResponse 获取指定账户的所有部门列表 API返回值 taobao.subuser.departments.get
获取指定账户的所有部门列表,其实包括有每个部门的ID、父部门ID、部门名称(通过主账号登陆只能查询属于该主账号下的所有部门信息)。
func GetTaobaoSubuserDepartmentsGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSubuserDepartmentsGetAPIResponse() *TaobaoSubuserDepartmentsGetAPIResponse
GetTaobaoSubuserDepartmentsGetAPIResponse 从 sync.Pool 获取 TaobaoSubuserDepartmentsGetAPIResponse
func (*TaobaoSubuserDepartmentsGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserDepartmentsGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubuserDepartmentsGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSubuserDepartmentsGetAPIResponseModel struct { XMLName xml.Name `xml:"subuser_departments_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 部门信息 Departments []Department `json:"departments,omitempty" xml:"departments>department,omitempty"` }
TaobaoSubuserDepartmentsGetAPIResponseModel is 获取指定账户的所有部门列表 成功返回结果
func (*TaobaoSubuserDepartmentsGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserDepartmentsGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubuserDutysGetAPIRequest ¶ added in v1.2.0
type TaobaoSubuserDutysGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSubuserDutysGetAPIRequest 获取指定账户的所有职务信息列表 API请求 taobao.subuser.dutys.get
通过主账号Nick获取该账户下的所有职务信息,职务信息中包括职务ID、职务名称以及职务等级(通过主账号登陆只能获取属于该主账号下的职务信息)
func GetTaobaoSubuserDutysGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSubuserDutysGetAPIRequest() *TaobaoSubuserDutysGetAPIRequest
GetTaobaoSubuserDutysGetRequest 从 sync.Pool 获取 TaobaoSubuserDutysGetAPIRequest
func NewTaobaoSubuserDutysGetRequest ¶
func NewTaobaoSubuserDutysGetRequest() *TaobaoSubuserDutysGetAPIRequest
NewTaobaoSubuserDutysGetRequest 初始化TaobaoSubuserDutysGetAPIRequest对象
func (TaobaoSubuserDutysGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSubuserDutysGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubuserDutysGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSubuserDutysGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubuserDutysGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubuserDutysGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSubuserDutysGetAPIRequest) GetUserNick ¶ added in v1.2.0
func (r TaobaoSubuserDutysGetAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoSubuserDutysGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubuserDutysGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubuserDutysGetAPIRequest) SetUserNick ¶ added in v1.2.0
func (r *TaobaoSubuserDutysGetAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 主账号用户名
type TaobaoSubuserDutysGetAPIResponse ¶
type TaobaoSubuserDutysGetAPIResponse struct { model.CommonResponse TaobaoSubuserDutysGetAPIResponseModel }
TaobaoSubuserDutysGetAPIResponse 获取指定账户的所有职务信息列表 API返回值 taobao.subuser.dutys.get
通过主账号Nick获取该账户下的所有职务信息,职务信息中包括职务ID、职务名称以及职务等级(通过主账号登陆只能获取属于该主账号下的职务信息)
func GetTaobaoSubuserDutysGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSubuserDutysGetAPIResponse() *TaobaoSubuserDutysGetAPIResponse
GetTaobaoSubuserDutysGetAPIResponse 从 sync.Pool 获取 TaobaoSubuserDutysGetAPIResponse
func (*TaobaoSubuserDutysGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserDutysGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubuserDutysGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSubuserDutysGetAPIResponseModel struct { XMLName xml.Name `xml:"subuser_dutys_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 职务信息 Dutys []Duty `json:"dutys,omitempty" xml:"dutys>duty,omitempty"` }
TaobaoSubuserDutysGetAPIResponseModel is 获取指定账户的所有职务信息列表 成功返回结果
func (*TaobaoSubuserDutysGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserDutysGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubuserFullinfoGetAPIRequest ¶ added in v1.2.0
type TaobaoSubuserFullinfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSubuserFullinfoGetAPIRequest 获取指定账户子账号的详细信息 API请求 taobao.subuser.fullinfo.get
获取指定账户子账号的详细信息,其中包括子账号的账号信息以及员工、部门、职务信息(只能通过主账号登陆并查询属于该主账号下的某个子账号详细信息)
func GetTaobaoSubuserFullinfoGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSubuserFullinfoGetAPIRequest() *TaobaoSubuserFullinfoGetAPIRequest
GetTaobaoSubuserFullinfoGetRequest 从 sync.Pool 获取 TaobaoSubuserFullinfoGetAPIRequest
func NewTaobaoSubuserFullinfoGetRequest ¶
func NewTaobaoSubuserFullinfoGetRequest() *TaobaoSubuserFullinfoGetAPIRequest
NewTaobaoSubuserFullinfoGetRequest 初始化TaobaoSubuserFullinfoGetAPIRequest对象
func (TaobaoSubuserFullinfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSubuserFullinfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubuserFullinfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSubuserFullinfoGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubuserFullinfoGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoSubuserFullinfoGetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoSubuserFullinfoGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubuserFullinfoGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSubuserFullinfoGetAPIRequest) GetSubId ¶ added in v1.2.0
func (r TaobaoSubuserFullinfoGetAPIRequest) GetSubId() int64
GetSubId SubId Getter
func (TaobaoSubuserFullinfoGetAPIRequest) GetSubNick ¶ added in v1.2.0
func (r TaobaoSubuserFullinfoGetAPIRequest) GetSubNick() string
GetSubNick SubNick Getter
func (*TaobaoSubuserFullinfoGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubuserFullinfoGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubuserFullinfoGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoSubuserFullinfoGetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 传入所需要的参数信息(若不需要获取子账号或主账号的企业邮箱地址,则无需传入该参数;若需要获取子账号或主账号的企业邮箱地址,则需要传入fields;可选参数值为subuser_email和user_email,传入其他参数值均无效;两个参数都需要则以逗号隔开传入即可,例如:subuser_email,user_email)
func (*TaobaoSubuserFullinfoGetAPIRequest) SetSubId ¶ added in v1.2.0
func (r *TaobaoSubuserFullinfoGetAPIRequest) SetSubId(_subId int64) error
SetSubId is SubId Setter 子账号ID(传参中sub_id和sub_nick至少需要其中一个,若sub_id与sub_nick同时传入并且合法,那么sub_nick优先,以sub_nick查询子账号)
func (*TaobaoSubuserFullinfoGetAPIRequest) SetSubNick ¶ added in v1.2.0
func (r *TaobaoSubuserFullinfoGetAPIRequest) SetSubNick(_subNick string) error
SetSubNick is SubNick Setter 子账号用户名(传参中sub_id和sub_nick至少需要其中一个,若sub_id与sub_nick同时传入并且合法,那么sub_nick优先,以sub_nick查询子账号)
type TaobaoSubuserFullinfoGetAPIResponse ¶
type TaobaoSubuserFullinfoGetAPIResponse struct { model.CommonResponse TaobaoSubuserFullinfoGetAPIResponseModel }
TaobaoSubuserFullinfoGetAPIResponse 获取指定账户子账号的详细信息 API返回值 taobao.subuser.fullinfo.get
获取指定账户子账号的详细信息,其中包括子账号的账号信息以及员工、部门、职务信息(只能通过主账号登陆并查询属于该主账号下的某个子账号详细信息)
func GetTaobaoSubuserFullinfoGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSubuserFullinfoGetAPIResponse() *TaobaoSubuserFullinfoGetAPIResponse
GetTaobaoSubuserFullinfoGetAPIResponse 从 sync.Pool 获取 TaobaoSubuserFullinfoGetAPIResponse
func (*TaobaoSubuserFullinfoGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserFullinfoGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubuserFullinfoGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSubuserFullinfoGetAPIResponseModel struct { XMLName xml.Name `xml:"subuser_fullinfo_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号详细信息,其中包括账号基本信息、员工信息和部门职务信息 SubFullinfo *SubUserFullInfo `json:"sub_fullinfo,omitempty" xml:"sub_fullinfo,omitempty"` }
TaobaoSubuserFullinfoGetAPIResponseModel is 获取指定账户子账号的详细信息 成功返回结果
func (*TaobaoSubuserFullinfoGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserFullinfoGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubuserInfoUpdateAPIRequest ¶ added in v1.2.0
type TaobaoSubuserInfoUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSubuserInfoUpdateAPIRequest 修改指定账户子账号的基本信息 API请求 taobao.subuser.info.update
修改指定账户子账号的基本信息(通过主账号登陆只能修改属于该主账号的子账号基本信息)
func GetTaobaoSubuserInfoUpdateAPIRequest ¶ added in v1.3.4
func GetTaobaoSubuserInfoUpdateAPIRequest() *TaobaoSubuserInfoUpdateAPIRequest
GetTaobaoSubuserInfoUpdateRequest 从 sync.Pool 获取 TaobaoSubuserInfoUpdateAPIRequest
func NewTaobaoSubuserInfoUpdateRequest ¶
func NewTaobaoSubuserInfoUpdateRequest() *TaobaoSubuserInfoUpdateAPIRequest
NewTaobaoSubuserInfoUpdateRequest 初始化TaobaoSubuserInfoUpdateAPIRequest对象
func (TaobaoSubuserInfoUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSubuserInfoUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubuserInfoUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSubuserInfoUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubuserInfoUpdateAPIRequest) GetIsDisableSubaccount ¶ added in v1.2.0
func (r TaobaoSubuserInfoUpdateAPIRequest) GetIsDisableSubaccount() bool
GetIsDisableSubaccount IsDisableSubaccount Getter
func (TaobaoSubuserInfoUpdateAPIRequest) GetIsDispatch ¶ added in v1.2.0
func (r TaobaoSubuserInfoUpdateAPIRequest) GetIsDispatch() bool
GetIsDispatch IsDispatch Getter
func (TaobaoSubuserInfoUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubuserInfoUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSubuserInfoUpdateAPIRequest) GetSubId ¶ added in v1.2.0
func (r TaobaoSubuserInfoUpdateAPIRequest) GetSubId() int64
GetSubId SubId Getter
func (*TaobaoSubuserInfoUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubuserInfoUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubuserInfoUpdateAPIRequest) SetIsDisableSubaccount ¶ added in v1.2.0
func (r *TaobaoSubuserInfoUpdateAPIRequest) SetIsDisableSubaccount(_isDisableSubaccount bool) error
SetIsDisableSubaccount is IsDisableSubaccount Setter 是否停用子账号 true:表示停用该子账号false:表示开启该子账号
func (*TaobaoSubuserInfoUpdateAPIRequest) SetIsDispatch ¶ added in v1.2.0
func (r *TaobaoSubuserInfoUpdateAPIRequest) SetIsDispatch(_isDispatch bool) error
SetIsDispatch is IsDispatch Setter 子账号是否参与分流 true:参与分流 false:不参与分流
func (*TaobaoSubuserInfoUpdateAPIRequest) SetSubId ¶ added in v1.2.0
func (r *TaobaoSubuserInfoUpdateAPIRequest) SetSubId(_subId int64) error
SetSubId is SubId Setter 子账号ID
type TaobaoSubuserInfoUpdateAPIResponse ¶
type TaobaoSubuserInfoUpdateAPIResponse struct { model.CommonResponse TaobaoSubuserInfoUpdateAPIResponseModel }
TaobaoSubuserInfoUpdateAPIResponse 修改指定账户子账号的基本信息 API返回值 taobao.subuser.info.update
修改指定账户子账号的基本信息(通过主账号登陆只能修改属于该主账号的子账号基本信息)
func GetTaobaoSubuserInfoUpdateAPIResponse ¶ added in v1.3.4
func GetTaobaoSubuserInfoUpdateAPIResponse() *TaobaoSubuserInfoUpdateAPIResponse
GetTaobaoSubuserInfoUpdateAPIResponse 从 sync.Pool 获取 TaobaoSubuserInfoUpdateAPIResponse
func (*TaobaoSubuserInfoUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserInfoUpdateAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubuserInfoUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoSubuserInfoUpdateAPIResponseModel struct { XMLName xml.Name `xml:"subuser_info_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 操作是否成功 true:操作成功; false:操作失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoSubuserInfoUpdateAPIResponseModel is 修改指定账户子账号的基本信息 成功返回结果
func (*TaobaoSubuserInfoUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubuserInfoUpdateAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubusersGetAPIRequest ¶ added in v1.2.0
TaobaoSubusersGetAPIRequest 获取指定账户的子账号简易信息列表 API请求 taobao.subusers.get
获取主账号下的子账号简易账号信息集合。(只能通过主账号登陆并且查询该属于主账号的子账号信息)
func GetTaobaoSubusersGetAPIRequest ¶ added in v1.3.4
func GetTaobaoSubusersGetAPIRequest() *TaobaoSubusersGetAPIRequest
GetTaobaoSubusersGetRequest 从 sync.Pool 获取 TaobaoSubusersGetAPIRequest
func NewTaobaoSubusersGetRequest ¶
func NewTaobaoSubusersGetRequest() *TaobaoSubusersGetAPIRequest
NewTaobaoSubusersGetRequest 初始化TaobaoSubusersGetAPIRequest对象
func (TaobaoSubusersGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoSubusersGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubusersGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoSubusersGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubusersGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubusersGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSubusersGetAPIRequest) GetUserNick ¶ added in v1.2.0
func (r TaobaoSubusersGetAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoSubusersGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubusersGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubusersGetAPIRequest) SetUserNick ¶ added in v1.2.0
func (r *TaobaoSubusersGetAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 主账号用户名
type TaobaoSubusersGetAPIResponse ¶
type TaobaoSubusersGetAPIResponse struct { model.CommonResponse TaobaoSubusersGetAPIResponseModel }
TaobaoSubusersGetAPIResponse 获取指定账户的子账号简易信息列表 API返回值 taobao.subusers.get
获取主账号下的子账号简易账号信息集合。(只能通过主账号登陆并且查询该属于主账号的子账号信息)
func GetTaobaoSubusersGetAPIResponse ¶ added in v1.3.4
func GetTaobaoSubusersGetAPIResponse() *TaobaoSubusersGetAPIResponse
GetTaobaoSubusersGetAPIResponse 从 sync.Pool 获取 TaobaoSubusersGetAPIResponse
func (*TaobaoSubusersGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubusersGetAPIResponseModel ¶ added in v1.2.0
type TaobaoSubusersGetAPIResponseModel struct { XMLName xml.Name `xml:"subusers_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号基本信息 Subaccounts []SubAccountInfo `json:"subaccounts,omitempty" xml:"subaccounts>sub_account_info,omitempty"` }
TaobaoSubusersGetAPIResponseModel is 获取指定账户的子账号简易信息列表 成功返回结果
func (*TaobaoSubusersGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubusersInfoQueryAPIRequest ¶ added in v1.2.5
type TaobaoSubusersInfoQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSubusersInfoQueryAPIRequest 根据当前子账号登陆态,获取该子账号基本信息 API请求 taobao.subusers.info.query
根据当前子账号登陆态,获取该子账号基本信息
func GetTaobaoSubusersInfoQueryAPIRequest ¶ added in v1.3.4
func GetTaobaoSubusersInfoQueryAPIRequest() *TaobaoSubusersInfoQueryAPIRequest
GetTaobaoSubusersInfoQueryRequest 从 sync.Pool 获取 TaobaoSubusersInfoQueryAPIRequest
func NewTaobaoSubusersInfoQueryRequest ¶ added in v1.2.5
func NewTaobaoSubusersInfoQueryRequest() *TaobaoSubusersInfoQueryAPIRequest
NewTaobaoSubusersInfoQueryRequest 初始化TaobaoSubusersInfoQueryAPIRequest对象
func (TaobaoSubusersInfoQueryAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoSubusersInfoQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubusersInfoQueryAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoSubusersInfoQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubusersInfoQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubusersInfoQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSubusersInfoQueryAPIRequest) GetSite ¶ added in v1.2.5
func (r TaobaoSubusersInfoQueryAPIRequest) GetSite() int64
GetSite Site Getter
func (*TaobaoSubusersInfoQueryAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubusersInfoQueryAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubusersInfoQueryAPIRequest) SetSite ¶ added in v1.2.5
func (r *TaobaoSubusersInfoQueryAPIRequest) SetSite(_site int64) error
SetSite is Site Setter 站点信息,淘宝天猫传0,1688传3
type TaobaoSubusersInfoQueryAPIResponse ¶ added in v1.2.5
type TaobaoSubusersInfoQueryAPIResponse struct { model.CommonResponse TaobaoSubusersInfoQueryAPIResponseModel }
TaobaoSubusersInfoQueryAPIResponse 根据当前子账号登陆态,获取该子账号基本信息 API返回值 taobao.subusers.info.query
根据当前子账号登陆态,获取该子账号基本信息
func GetTaobaoSubusersInfoQueryAPIResponse ¶ added in v1.3.4
func GetTaobaoSubusersInfoQueryAPIResponse() *TaobaoSubusersInfoQueryAPIResponse
GetTaobaoSubusersInfoQueryAPIResponse 从 sync.Pool 获取 TaobaoSubusersInfoQueryAPIResponse
func (*TaobaoSubusersInfoQueryAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersInfoQueryAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubusersInfoQueryAPIResponseModel ¶ added in v1.2.5
type TaobaoSubusersInfoQueryAPIResponseModel struct { XMLName xml.Name `xml:"subusers_info_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号对象,如果为空,说明没查到该子账号 Result *SubUserDo `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoSubusersInfoQueryAPIResponseModel is 根据当前子账号登陆态,获取该子账号基本信息 成功返回结果
func (*TaobaoSubusersInfoQueryAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersInfoQueryAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubusersPageAPIRequest ¶ added in v1.2.5
TaobaoSubusersPageAPIRequest 分页获取指定账户的子账号简易信息列表(新isv建议使用taobao.sellercenter.subusers.page接口) API请求 taobao.subusers.page
分页获取指定账户的子账号简易信息列表 (新isv接入建议使用taobao.sellercenter.subusers.page接口)
func GetTaobaoSubusersPageAPIRequest ¶ added in v1.3.4
func GetTaobaoSubusersPageAPIRequest() *TaobaoSubusersPageAPIRequest
GetTaobaoSubusersPageRequest 从 sync.Pool 获取 TaobaoSubusersPageAPIRequest
func NewTaobaoSubusersPageRequest ¶ added in v1.2.5
func NewTaobaoSubusersPageRequest() *TaobaoSubusersPageAPIRequest
NewTaobaoSubusersPageRequest 初始化TaobaoSubusersPageAPIRequest对象
func (TaobaoSubusersPageAPIRequest) GetAccountStatus ¶ added in v1.2.5
func (r TaobaoSubusersPageAPIRequest) GetAccountStatus() int64
GetAccountStatus AccountStatus Getter
func (TaobaoSubusersPageAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoSubusersPageAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubusersPageAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoSubusersPageAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubusersPageAPIRequest) GetPageNum ¶ added in v1.2.5
func (r TaobaoSubusersPageAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoSubusersPageAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoSubusersPageAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoSubusersPageAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubusersPageAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoSubusersPageAPIRequest) GetUserNick ¶ added in v1.2.5
func (r TaobaoSubusersPageAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaoSubusersPageAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubusersPageAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubusersPageAPIRequest) SetAccountStatus ¶ added in v1.2.5
func (r *TaobaoSubusersPageAPIRequest) SetAccountStatus(_accountStatus int64) error
SetAccountStatus is AccountStatus Setter 可以不传,不传的话和老接口返回数据一样。如果传则根据子账号当前状态筛选 1正常 2冻结 3处罚,如果不传默认都返回
func (*TaobaoSubusersPageAPIRequest) SetPageNum ¶ added in v1.2.5
func (r *TaobaoSubusersPageAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 页码,大于等于1
func (*TaobaoSubusersPageAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoSubusersPageAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,大于1小于200
func (*TaobaoSubusersPageAPIRequest) SetUserNick ¶ added in v1.2.5
func (r *TaobaoSubusersPageAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 主账号用户名
type TaobaoSubusersPageAPIResponse ¶ added in v1.2.5
type TaobaoSubusersPageAPIResponse struct { model.CommonResponse TaobaoSubusersPageAPIResponseModel }
TaobaoSubusersPageAPIResponse 分页获取指定账户的子账号简易信息列表(新isv建议使用taobao.sellercenter.subusers.page接口) API返回值 taobao.subusers.page
分页获取指定账户的子账号简易信息列表 (新isv接入建议使用taobao.sellercenter.subusers.page接口)
func GetTaobaoSubusersPageAPIResponse ¶ added in v1.3.4
func GetTaobaoSubusersPageAPIResponse() *TaobaoSubusersPageAPIResponse
GetTaobaoSubusersPageAPIResponse 从 sync.Pool 获取 TaobaoSubusersPageAPIResponse
func (*TaobaoSubusersPageAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersPageAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubusersPageAPIResponseModel ¶ added in v1.2.5
type TaobaoSubusersPageAPIResponseModel struct { XMLName xml.Name `xml:"subusers_page_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号基本信息 Subaccounts []SubAccountInfo `json:"subaccounts,omitempty" xml:"subaccounts>sub_account_info,omitempty"` // isv本次调用传入的页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 本次调用删选条件下的总子账号数量,除以页大小可得出最大页数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // isv本次调用传入的页码 PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"` }
TaobaoSubusersPageAPIResponseModel is 分页获取指定账户的子账号简易信息列表(新isv建议使用taobao.sellercenter.subusers.page接口) 成功返回结果
func (*TaobaoSubusersPageAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersPageAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoSubusersSubaccountSearchAPIRequest ¶ added in v1.2.5
type TaobaoSubusersSubaccountSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoSubusersSubaccountSearchAPIRequest 根据子账号登录名后缀模糊搜索子账号列表 API请求 taobao.subusers.subaccount.search
根据子账号冒号后缀搜索子账号列表,支持中文单字、英文单词(不支持英文单字母) 分词规则搜索,该搜索词必传。模糊搜索使用阿里云搜索引擎所以该接口增值收费,如果不需要模糊搜索仅需要分页获取子账号列表,请使用taobao.sellercenter.subusers.page接口
func GetTaobaoSubusersSubaccountSearchAPIRequest ¶ added in v1.3.4
func GetTaobaoSubusersSubaccountSearchAPIRequest() *TaobaoSubusersSubaccountSearchAPIRequest
GetTaobaoSubusersSubaccountSearchRequest 从 sync.Pool 获取 TaobaoSubusersSubaccountSearchAPIRequest
func NewTaobaoSubusersSubaccountSearchRequest ¶ added in v1.2.5
func NewTaobaoSubusersSubaccountSearchRequest() *TaobaoSubusersSubaccountSearchAPIRequest
NewTaobaoSubusersSubaccountSearchRequest 初始化TaobaoSubusersSubaccountSearchAPIRequest对象
func (TaobaoSubusersSubaccountSearchAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoSubusersSubaccountSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoSubusersSubaccountSearchAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoSubusersSubaccountSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoSubusersSubaccountSearchAPIRequest) GetFilterKey ¶ added in v1.2.5
func (r TaobaoSubusersSubaccountSearchAPIRequest) GetFilterKey() string
GetFilterKey FilterKey Getter
func (TaobaoSubusersSubaccountSearchAPIRequest) GetMainNick ¶ added in v1.2.5
func (r TaobaoSubusersSubaccountSearchAPIRequest) GetMainNick() string
GetMainNick MainNick Getter
func (TaobaoSubusersSubaccountSearchAPIRequest) GetPageNum ¶ added in v1.2.5
func (r TaobaoSubusersSubaccountSearchAPIRequest) GetPageNum() int64
GetPageNum PageNum Getter
func (TaobaoSubusersSubaccountSearchAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoSubusersSubaccountSearchAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoSubusersSubaccountSearchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoSubusersSubaccountSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoSubusersSubaccountSearchAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoSubusersSubaccountSearchAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoSubusersSubaccountSearchAPIRequest) SetFilterKey ¶ added in v1.2.5
func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetFilterKey(_filterKey string) error
SetFilterKey is FilterKey Setter 根据子账号冒号后缀的搜索词,支持中文单字、英文单词 分词规则搜索。该搜索词必传。如果不需要模糊搜索仅需要分页获取子账号列表,请使用taobao.sellercenter.subusers.page接口
func (*TaobaoSubusersSubaccountSearchAPIRequest) SetMainNick ¶ added in v1.2.5
func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetMainNick(_mainNick string) error
SetMainNick is MainNick Setter 主账号登录名
func (*TaobaoSubusersSubaccountSearchAPIRequest) SetPageNum ¶ added in v1.2.5
func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetPageNum(_pageNum int64) error
SetPageNum is PageNum Setter 页码,大于等于1
func (*TaobaoSubusersSubaccountSearchAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoSubusersSubaccountSearchAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页大小,大于1小于200
type TaobaoSubusersSubaccountSearchAPIResponse ¶ added in v1.2.5
type TaobaoSubusersSubaccountSearchAPIResponse struct { model.CommonResponse TaobaoSubusersSubaccountSearchAPIResponseModel }
TaobaoSubusersSubaccountSearchAPIResponse 根据子账号登录名后缀模糊搜索子账号列表 API返回值 taobao.subusers.subaccount.search
根据子账号冒号后缀搜索子账号列表,支持中文单字、英文单词(不支持英文单字母) 分词规则搜索,该搜索词必传。模糊搜索使用阿里云搜索引擎所以该接口增值收费,如果不需要模糊搜索仅需要分页获取子账号列表,请使用taobao.sellercenter.subusers.page接口
func GetTaobaoSubusersSubaccountSearchAPIResponse ¶ added in v1.3.4
func GetTaobaoSubusersSubaccountSearchAPIResponse() *TaobaoSubusersSubaccountSearchAPIResponse
GetTaobaoSubusersSubaccountSearchAPIResponse 从 sync.Pool 获取 TaobaoSubusersSubaccountSearchAPIResponse
func (*TaobaoSubusersSubaccountSearchAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersSubaccountSearchAPIResponse) Reset()
Reset 清空结构体
type TaobaoSubusersSubaccountSearchAPIResponseModel ¶ added in v1.2.5
type TaobaoSubusersSubaccountSearchAPIResponseModel struct { XMLName xml.Name `xml:"subusers_subaccount_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 子账号列表 Subaccounts []SubAccountInfo `json:"subaccounts,omitempty" xml:"subaccounts>sub_account_info,omitempty"` // isv本次调用传入的页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 本次调用删选条件下的总子账号数量,除以页大小可得出最大页数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // isv本次调用传入的页码 PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"` }
TaobaoSubusersSubaccountSearchAPIResponseModel is 根据子账号登录名后缀模糊搜索子账号列表 成功返回结果
func (*TaobaoSubusersSubaccountSearchAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoSubusersSubaccountSearchAPIResponseModel) Reset()
Reset 清空结构体
Source Files ¶
- Department.go
- Duty.go
- Permission.go
- Role.go
- SubAccountInfo.go
- SubUserDo.go
- SubUserFullInfo.go
- SubUserInfo.go
- SubUserPermission.go
- TaobaoSellercenterRoleAddAPIRequest.go
- TaobaoSellercenterRoleAddAPIResponse.go
- TaobaoSellercenterRolesGetAPIRequest.go
- TaobaoSellercenterRolesGetAPIResponse.go
- TaobaoSellercenterSubuserPermissionsRolesGetAPIRequest.go
- TaobaoSellercenterSubuserPermissionsRolesGetAPIResponse.go
- TaobaoSellercenterSubusersGetAPIRequest.go
- TaobaoSellercenterSubusersGetAPIResponse.go
- TaobaoSellercenterSubusersPageAPIRequest.go
- TaobaoSellercenterSubusersPageAPIResponse.go
- TaobaoSellercenterUserPermissionsGetAPIRequest.go
- TaobaoSellercenterUserPermissionsGetAPIResponse.go
- TaobaoSubuserDepartmentsGetAPIRequest.go
- TaobaoSubuserDepartmentsGetAPIResponse.go
- TaobaoSubuserDutysGetAPIRequest.go
- TaobaoSubuserDutysGetAPIResponse.go
- TaobaoSubuserFullinfoGetAPIRequest.go
- TaobaoSubuserFullinfoGetAPIResponse.go
- TaobaoSubuserInfoUpdateAPIRequest.go
- TaobaoSubuserInfoUpdateAPIResponse.go
- TaobaoSubusersGetAPIRequest.go
- TaobaoSubusersGetAPIResponse.go
- TaobaoSubusersInfoQueryAPIRequest.go
- TaobaoSubusersInfoQueryAPIResponse.go
- TaobaoSubusersPageAPIRequest.go
- TaobaoSubusersPageAPIResponse.go
- TaobaoSubusersSubaccountSearchAPIRequest.go
- TaobaoSubusersSubaccountSearchAPIResponse.go
- doc.go