ccnu

package
v0.0.0-...-70768f8 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeONERequest

func MakeONERequest(client *http.Client) (portal_token string, err error)

Types

type SuInfo

type SuInfo struct {
	Errcode string `json:"errcode"`
	Errmsg  string `json:"errmsg"`
	User    struct {
		DeptID       string `json:"deptId"`
		DeptName     string `json:"deptName"`
		ID           string `json:"id"`
		Mobile       string `json:"mobile"`
		Name         string `json:"name"`
		SchoolEmail  string `json:"schoolEmail"`
		Status       int    `json:"status"`
		UserFace     string `json:"userFace"`
		Username     string `json:"username"`
		Usernumber   string `json:"usernumber"`
		Usertype     string `json:"usertype"`
		UsertypeName string `json:"usertypeName"`
		Xb           string `json:"xb"`
	} `json:"user"`
}

func GetUserInfoFormOne

func GetUserInfoFormOne(sid string, pwd string) (SuInfo, error)

Jump to

Keyboard shortcuts

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