Documentation ¶
Index ¶
- Variables
- func Create(t *testing.T, userID string)
- func CreateBind(t *testing.T, userInfo UserCore.FieldsUserType) (bindData OrgCore.FieldsBind, err error)
- func CreateUser(t *testing.T) (userInfo UserCore.FieldsUserType, errCode string, err error)
- func DeleteByID(t *testing.T, id string)
- func GetBindList(t *testing.T, orgID string)
- func LocalClear(t *testing.T)
- func LocalCreateBind(t *testing.T)
- func LocalCreateGroup(t *testing.T)
- func LocalCreateOrg(t *testing.T)
- func LocalCreateUser(t *testing.T)
- func LocalCreateWorkTime(t *testing.T)
- func LocalInit()
- func LocalOrgFinance(t *testing.T)
- func SetUserBind(t *testing.T, orgID string, userID string, name string, managers []string)
- func SetUserSelectOrg(t *testing.T, orgID string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UserInfo UserCore.FieldsUserType OrgData OrgCore.FieldsOrg WorkTimeData OrgTime.FieldsWorkTime GroupData OrgCore.FieldsGroup BindData OrgCore.FieldsBind BindList []OrgCore.FieldsBind )
Functions ¶
func CreateBind ¶
func CreateBind(t *testing.T, userInfo UserCore.FieldsUserType) (bindData OrgCore.FieldsBind, err error)
func CreateUser ¶
func GetBindList ¶
获取绑定列表 url: /v1/work/organizational/manager/bind/list
func SetUserBind ¶
让某个用户成为组织成员
func SetUserSelectOrg ¶
设置用户当前选择的组织 url: /v1/work/organizational/user/select
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.