Documentation
¶
Overview ¶
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 0.0.1 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AbandonCodeCURDApiAbandonCodeCURDDelAbandonCodeByIdx1ListOpts
- type AbandonCodeCURDApiAbandonCodeCURDGetAbandonCodeListOpts
- type AbandonCodeCURDApiService
- func (a *AbandonCodeCURDApiService) AbandonCodeCURDAddAbandonCode(ctx context.Context, body ApiAddAbandonCodeRequest) (ApiAddAbandonCodeResponse, *http.Response, error)
- func (a *AbandonCodeCURDApiService) AbandonCodeCURDDelAbandonCodeByIdx1List(ctx context.Context, ...) (ApiEmpty, *http.Response, error)
- func (a *AbandonCodeCURDApiService) AbandonCodeCURDGetAbandonCodeList(ctx context.Context, ...) (ApiGetAbandonCodeListResponse, *http.Response, error)
- type ApiAbandonCodeInfo
- type ApiAddAbandonCodeRequest
- type ApiAddAbandonCodeResponse
- type ApiAddCourseSwapRequestRequest
- type ApiAddCourseSwapRequestResponse
- type ApiAddUserDeptAssocRequest
- type ApiAddUserDeptAssocResponse
- type ApiAddUserDeptRequest
- type ApiAddUserDeptResponse
- type ApiAddUserJobRequest
- type ApiAddUserJobResponse
- type ApiAddUserRequest
- type ApiAddUserResponse
- type ApiCourseSwapRequestInfo
- type ApiEditUserNameRequest
- type ApiEmpty
- type ApiGetAbandonCodeListResponse
- type ApiGetCourseSwapRequestListResponse
- type ApiGetUserDeptAssocListResponse
- type ApiGetUserDeptListResponse
- type ApiGetUserJobListResponse
- type ApiGetUserListResponse
- type ApiLoginRequest
- type ApiLoginResponse
- type ApiUserDeptAssocInfo
- type ApiUserDeptInfo
- type ApiUserInfo
- type ApiUserJobInfo
- type BasicAuth
- type Configuration
- type GenericSwaggerError
- type SchoolCURDApiSchoolCURDDelCourseSwapRequestByIDListOpts
- type SchoolCURDApiSchoolCURDGetCourseSwapRequestListOpts
- type SchoolCURDApiService
- func (a *SchoolCURDApiService) SchoolCURDAddCourseSwapRequest(ctx context.Context, body ApiAddCourseSwapRequestRequest) (ApiAddCourseSwapRequestResponse, *http.Response, error)
- func (a *SchoolCURDApiService) SchoolCURDDelCourseSwapRequestByIDList(ctx context.Context, ...) (ApiEmpty, *http.Response, error)
- func (a *SchoolCURDApiService) SchoolCURDGetCourseSwapRequestList(ctx context.Context, ...) (ApiGetCourseSwapRequestListResponse, *http.Response, error)
- type UserApiService
- func (a *UserApiService) UserDelUserDeptAssoc(ctx context.Context, localVarOptionals *UserApiUserDelUserDeptAssocOpts) (ApiEmpty, *http.Response, error)
- func (a *UserApiService) UserEditUserName(ctx context.Context, body ApiEditUserNameRequest) (ApiEmpty, *http.Response, error)
- func (a *UserApiService) UserLogin(ctx context.Context, body ApiLoginRequest) (ApiLoginResponse, *http.Response, error)
- type UserApiUserDelUserDeptAssocOpts
- type UserCURDApiService
- func (a *UserCURDApiService) UserCURDAddUser(ctx context.Context, body ApiAddUserRequest) (ApiAddUserResponse, *http.Response, error)
- func (a *UserCURDApiService) UserCURDAddUserDept(ctx context.Context, body ApiAddUserDeptRequest) (ApiAddUserDeptResponse, *http.Response, error)
- func (a *UserCURDApiService) UserCURDAddUserDeptAssoc(ctx context.Context, body ApiAddUserDeptAssocRequest) (ApiAddUserDeptAssocResponse, *http.Response, error)
- func (a *UserCURDApiService) UserCURDAddUserJob(ctx context.Context, body ApiAddUserJobRequest) (ApiAddUserJobResponse, *http.Response, error)
- func (a *UserCURDApiService) UserCURDDelUserByIDList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDDelUserByIDListOpts) (ApiEmpty, *http.Response, error)
- func (a *UserCURDApiService) UserCURDDelUserDeptByIDList(ctx context.Context, ...) (ApiEmpty, *http.Response, error)
- func (a *UserCURDApiService) UserCURDDelUserJobByIDList(ctx context.Context, ...) (ApiEmpty, *http.Response, error)
- func (a *UserCURDApiService) UserCURDGetUserDeptAssocList(ctx context.Context) (ApiGetUserDeptAssocListResponse, *http.Response, error)
- func (a *UserCURDApiService) UserCURDGetUserDeptList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDGetUserDeptListOpts) (ApiGetUserDeptListResponse, *http.Response, error)
- func (a *UserCURDApiService) UserCURDGetUserJobList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDGetUserJobListOpts) (ApiGetUserJobListResponse, *http.Response, error)
- func (a *UserCURDApiService) UserCURDGetUserList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDGetUserListOpts) (ApiGetUserListResponse, *http.Response, error)
- type UserCURDApiUserCURDDelUserByIDListOpts
- type UserCURDApiUserCURDDelUserDeptByIDListOpts
- type UserCURDApiUserCURDDelUserJobByIDListOpts
- type UserCURDApiUserCURDGetUserDeptListOpts
- type UserCURDApiUserCURDGetUserJobListOpts
- type UserCURDApiUserCURDGetUserListOpts
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct {
AbandonCodeCURDApi *AbandonCodeCURDApiService
SchoolCURDApi *SchoolCURDApiService
UserApi *UserApiService
UserCURDApi *UserCURDApiService
// contains filtered or unexported fields
}
APIClient manages communication with the API v0.0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the swagger operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AbandonCodeCURDApiService ¶
type AbandonCodeCURDApiService service
func (*AbandonCodeCURDApiService) AbandonCodeCURDAddAbandonCode ¶
func (a *AbandonCodeCURDApiService) AbandonCodeCURDAddAbandonCode(ctx context.Context, body ApiAddAbandonCodeRequest) (ApiAddAbandonCodeResponse, *http.Response, error)
AbandonCodeCURDApiService MARK REPEAT API START 一个表的接口定义 -------------------------------------------------- tbl : abandon_code
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiAddAbandonCodeResponse
func (*AbandonCodeCURDApiService) AbandonCodeCURDDelAbandonCodeByIdx1List ¶
func (a *AbandonCodeCURDApiService) AbandonCodeCURDDelAbandonCodeByIdx1List(ctx context.Context, localVarOptionals *AbandonCodeCURDApiAbandonCodeCURDDelAbandonCodeByIdx1ListOpts) (ApiEmpty, *http.Response, error)
func (*AbandonCodeCURDApiService) AbandonCodeCURDGetAbandonCodeList ¶
func (a *AbandonCodeCURDApiService) AbandonCodeCURDGetAbandonCodeList(ctx context.Context, localVarOptionals *AbandonCodeCURDApiAbandonCodeCURDGetAbandonCodeListOpts) (ApiGetAbandonCodeListResponse, *http.Response, error)
type ApiAbandonCodeInfo ¶
type ApiAbandonCodeInfo struct {
// MARK REPLACE PB COL START 替换内容,所有字段
Idx1 int32 `json:"idx1,omitempty"`
Col1 string `json:"col1,omitempty"`
}
-------------------------------------------------- tbl : abandon_code
type ApiAddAbandonCodeRequest ¶
type ApiAddAbandonCodeRequest struct {
AbandonCode *ApiAbandonCodeInfo `json:"abandonCode,omitempty"`
}
type ApiAddAbandonCodeResponse ¶
type ApiAddAbandonCodeResponse struct {
AbandonCode *ApiAbandonCodeInfo `json:"abandonCode,omitempty"`
}
type ApiAddCourseSwapRequestRequest ¶
type ApiAddCourseSwapRequestRequest struct {
CourseSwapRequest *ApiCourseSwapRequestInfo `json:"courseSwapRequest,omitempty"`
}
type ApiAddCourseSwapRequestResponse ¶
type ApiAddCourseSwapRequestResponse struct {
CourseSwapRequest *ApiCourseSwapRequestInfo `json:"courseSwapRequest,omitempty"`
}
type ApiAddUserDeptAssocRequest ¶
type ApiAddUserDeptAssocRequest struct {
UserDeptAssoc *ApiUserDeptAssocInfo `json:"userDeptAssoc,omitempty"`
}
type ApiAddUserDeptAssocResponse ¶
type ApiAddUserDeptAssocResponse struct {
UserDeptAssoc *ApiUserDeptAssocInfo `json:"userDeptAssoc,omitempty"`
}
type ApiAddUserDeptRequest ¶
type ApiAddUserDeptRequest struct {
UserDept *ApiUserDeptInfo `json:"userDept,omitempty"`
}
type ApiAddUserDeptResponse ¶
type ApiAddUserDeptResponse struct {
UserDept *ApiUserDeptInfo `json:"userDept,omitempty"`
}
type ApiAddUserJobRequest ¶
type ApiAddUserJobRequest struct {
UserJob *ApiUserJobInfo `json:"userJob,omitempty"`
}
type ApiAddUserJobResponse ¶
type ApiAddUserJobResponse struct {
UserJob *ApiUserJobInfo `json:"userJob,omitempty"`
}
type ApiAddUserRequest ¶
type ApiAddUserRequest struct {
User *ApiUserInfo `json:"user,omitempty"`
}
type ApiAddUserResponse ¶
type ApiAddUserResponse struct {
User *ApiUserInfo `json:"user,omitempty"`
}
type ApiCourseSwapRequestInfo ¶
type ApiCourseSwapRequestInfo struct {
ID int32 `json:"iD,omitempty"`
SrcTeacher string `json:"srcTeacher,omitempty"`
SrcDate string `json:"srcDate,omitempty"`
SrcCourseNum int32 `json:"srcCourseNum,omitempty"`
SrcCourse string `json:"srcCourse,omitempty"`
SrcClass string `json:"srcClass,omitempty"`
DstTeacher string `json:"dstTeacher,omitempty"`
DstDate string `json:"dstDate,omitempty"`
DstCourseNum int32 `json:"dstCourseNum,omitempty"`
DstCourse string `json:"dstCourse,omitempty"`
DstClass string `json:"dstClass,omitempty"`
CreateTime string `json:"createTime,omitempty"`
Status int32 `json:"status,omitempty"`
}
-------------------------------------------------- tbl : course_swap_request
type ApiEditUserNameRequest ¶
type ApiGetAbandonCodeListResponse ¶
type ApiGetAbandonCodeListResponse struct {
AbandonCodeList []ApiAbandonCodeInfo `json:"abandonCodeList,omitempty"`
}
type ApiGetCourseSwapRequestListResponse ¶
type ApiGetCourseSwapRequestListResponse struct {
CourseSwapRequestList []ApiCourseSwapRequestInfo `json:"courseSwapRequestList,omitempty"`
}
type ApiGetUserDeptAssocListResponse ¶
type ApiGetUserDeptAssocListResponse struct {
UserDeptAssocList []ApiUserDeptAssocInfo `json:"userDeptAssocList,omitempty"`
}
type ApiGetUserDeptListResponse ¶
type ApiGetUserDeptListResponse struct {
UserDeptList []ApiUserDeptInfo `json:"userDeptList,omitempty"`
}
type ApiGetUserJobListResponse ¶
type ApiGetUserJobListResponse struct {
UserJobList []ApiUserJobInfo `json:"userJobList,omitempty"`
}
type ApiGetUserListResponse ¶
type ApiGetUserListResponse struct {
UserList []ApiUserInfo `json:"userList,omitempty"`
}
type ApiLoginRequest ¶
type ApiLoginRequest struct {
UserName string `json:"userName,omitempty"`
}
type ApiLoginResponse ¶
type ApiLoginResponse struct {
User *ApiUserInfo `json:"user,omitempty"`
}
type ApiUserDeptAssocInfo ¶
type ApiUserDeptAssocInfo struct {
UserID int32 `json:"userID,omitempty"`
DeptID int32 `json:"deptID,omitempty"`
JobID int32 `json:"jobID,omitempty"`
}
-------------------------------------------------- tbl : user_dept_assoc
type ApiUserDeptInfo ¶
type ApiUserDeptInfo struct {
ID int32 `json:"iD,omitempty"`
DeptPath string `json:"deptPath,omitempty"`
DeptName string `json:"deptName,omitempty"`
}
-------------------------------------------------- tbl : user_dept
type ApiUserInfo ¶
type ApiUserInfo struct {
ID int32 `json:"iD,omitempty"`
UserName string `json:"userName,omitempty"`
}
-------------------------------------------------- tbl : user
type ApiUserJobInfo ¶
type ApiUserJobInfo struct {
ID int32 `json:"iD,omitempty"`
JobName string `json:"jobName,omitempty"`
}
-------------------------------------------------- tbl : user_job
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
BasePath string `json:"basePath,omitempty"`
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
HTTPClient *http.Client
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type SchoolCURDApiService ¶
type SchoolCURDApiService service
func (*SchoolCURDApiService) SchoolCURDAddCourseSwapRequest ¶
func (a *SchoolCURDApiService) SchoolCURDAddCourseSwapRequest(ctx context.Context, body ApiAddCourseSwapRequestRequest) (ApiAddCourseSwapRequestResponse, *http.Response, error)
SchoolCURDApiService -------------------------------------------------- tbl : course_swap_request
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiAddCourseSwapRequestResponse
func (*SchoolCURDApiService) SchoolCURDDelCourseSwapRequestByIDList ¶
func (a *SchoolCURDApiService) SchoolCURDDelCourseSwapRequestByIDList(ctx context.Context, localVarOptionals *SchoolCURDApiSchoolCURDDelCourseSwapRequestByIDListOpts) (ApiEmpty, *http.Response, error)
func (*SchoolCURDApiService) SchoolCURDGetCourseSwapRequestList ¶
func (a *SchoolCURDApiService) SchoolCURDGetCourseSwapRequestList(ctx context.Context, localVarOptionals *SchoolCURDApiSchoolCURDGetCourseSwapRequestListOpts) (ApiGetCourseSwapRequestListResponse, *http.Response, error)
type UserApiService ¶
type UserApiService service
func (*UserApiService) UserDelUserDeptAssoc ¶
func (a *UserApiService) UserDelUserDeptAssoc(ctx context.Context, localVarOptionals *UserApiUserDelUserDeptAssocOpts) (ApiEmpty, *http.Response, error)
func (*UserApiService) UserEditUserName ¶
func (a *UserApiService) UserEditUserName(ctx context.Context, body ApiEditUserNameRequest) (ApiEmpty, *http.Response, error)
UserApiService 修改用户名
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiEmpty
func (*UserApiService) UserLogin ¶
func (a *UserApiService) UserLogin(ctx context.Context, body ApiLoginRequest) (ApiLoginResponse, *http.Response, error)
UserApiService 登录或注册,其实可以理解为只是通过用户账号密码新建一个token,用于其他接口鉴权
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiLoginResponse
type UserCURDApiService ¶
type UserCURDApiService service
func (*UserCURDApiService) UserCURDAddUser ¶
func (a *UserCURDApiService) UserCURDAddUser(ctx context.Context, body ApiAddUserRequest) (ApiAddUserResponse, *http.Response, error)
UserCURDApiService -------------------------------------------------- tbl : user
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiAddUserResponse
func (*UserCURDApiService) UserCURDAddUserDept ¶
func (a *UserCURDApiService) UserCURDAddUserDept(ctx context.Context, body ApiAddUserDeptRequest) (ApiAddUserDeptResponse, *http.Response, error)
UserCURDApiService -------------------------------------------------- tbl : user_dept
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiAddUserDeptResponse
func (*UserCURDApiService) UserCURDAddUserDeptAssoc ¶
func (a *UserCURDApiService) UserCURDAddUserDeptAssoc(ctx context.Context, body ApiAddUserDeptAssocRequest) (ApiAddUserDeptAssocResponse, *http.Response, error)
UserCURDApiService -------------------------------------------------- tbl : user_dept_assoc
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiAddUserDeptAssocResponse
func (*UserCURDApiService) UserCURDAddUserJob ¶
func (a *UserCURDApiService) UserCURDAddUserJob(ctx context.Context, body ApiAddUserJobRequest) (ApiAddUserJobResponse, *http.Response, error)
UserCURDApiService -------------------------------------------------- tbl : user_job
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return ApiAddUserJobResponse
func (*UserCURDApiService) UserCURDDelUserByIDList ¶
func (a *UserCURDApiService) UserCURDDelUserByIDList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDDelUserByIDListOpts) (ApiEmpty, *http.Response, error)
func (*UserCURDApiService) UserCURDDelUserDeptByIDList ¶
func (a *UserCURDApiService) UserCURDDelUserDeptByIDList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDDelUserDeptByIDListOpts) (ApiEmpty, *http.Response, error)
func (*UserCURDApiService) UserCURDDelUserJobByIDList ¶
func (a *UserCURDApiService) UserCURDDelUserJobByIDList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDDelUserJobByIDListOpts) (ApiEmpty, *http.Response, error)
func (*UserCURDApiService) UserCURDGetUserDeptAssocList ¶
func (a *UserCURDApiService) UserCURDGetUserDeptAssocList(ctx context.Context) (ApiGetUserDeptAssocListResponse, *http.Response, error)
UserCURDApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiGetUserDeptAssocListResponse
func (*UserCURDApiService) UserCURDGetUserDeptList ¶
func (a *UserCURDApiService) UserCURDGetUserDeptList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDGetUserDeptListOpts) (ApiGetUserDeptListResponse, *http.Response, error)
func (*UserCURDApiService) UserCURDGetUserJobList ¶
func (a *UserCURDApiService) UserCURDGetUserJobList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDGetUserJobListOpts) (ApiGetUserJobListResponse, *http.Response, error)
func (*UserCURDApiService) UserCURDGetUserList ¶
func (a *UserCURDApiService) UserCURDGetUserList(ctx context.Context, localVarOptionals *UserCURDApiUserCURDGetUserListOpts) (ApiGetUserListResponse, *http.Response, error)
Source Files
¶
- api_abandon_code_curd.go
- api_school_curd.go
- api_user.go
- api_user_curd.go
- client.go
- configuration.go
- model_api_abandon_code_info.go
- model_api_add_abandon_code_request.go
- model_api_add_abandon_code_response.go
- model_api_add_course_swap_request_request.go
- model_api_add_course_swap_request_response.go
- model_api_add_user_dept_assoc_request.go
- model_api_add_user_dept_assoc_response.go
- model_api_add_user_dept_request.go
- model_api_add_user_dept_response.go
- model_api_add_user_job_request.go
- model_api_add_user_job_response.go
- model_api_add_user_request.go
- model_api_add_user_response.go
- model_api_course_swap_request_info.go
- model_api_edit_user_name_request.go
- model_api_empty.go
- model_api_get_abandon_code_list_response.go
- model_api_get_course_swap_request_list_response.go
- model_api_get_user_dept_assoc_list_response.go
- model_api_get_user_dept_list_response.go
- model_api_get_user_job_list_response.go
- model_api_get_user_list_response.go
- model_api_login_request.go
- model_api_login_response.go
- model_api_user_dept_assoc_info.go
- model_api_user_dept_info.go
- model_api_user_info.go
- model_api_user_job_info.go
- response.go