Documentation
¶
Index ¶
Constants ¶
View Source
const ( MeZjutURL = "http://www.me.zjut.edu.cn" PersonalCenterURL = MeZjutURL + "/personal-center" UserInfoApi = MeZjutURL + "/api/basic/info" )
用户中心
View Source
const ( BaseUrl = "https://oauth.zjut.edu.cn/cas" PublicKeyUrl = BaseUrl + "/v2/getPubKey" LoginUrl = BaseUrl + "/login" )
统一登陆
View Source
const ( WrongPasswordMsg = "用户名或密码错误" // #nosec G101 WrongAccountMsg = "当前账号无权登录" NotActivatedMsg = "账号未激活,请激活后再登录" )
登陆错误对应在页面的提示信息
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.