Merge branch 'jng' into dev
This commit is contained in:
commit
55fd6c2e02
@ -60,6 +60,8 @@ func CheckLogin(provider *api.AccountClientImpl) gin.HandlerFunc {
|
||||
SubNum: infoRes.SubNum,
|
||||
NotPassRemarks: infoRes.NotPassRemarks,
|
||||
Domain: infoRes.Domain,
|
||||
TelNum: jwt.Phone,
|
||||
SubscriberNumber: infoRes.SubscriberNumber,
|
||||
}
|
||||
|
||||
ctx.Set("jwtInfo", loginInfo)
|
||||
|
@ -25,6 +25,8 @@ type Info struct {
|
||||
SubNum string `json:"subNum"`
|
||||
NotPassRemarks string `json:"notPassRemarks"`
|
||||
Domain string `json:"domain"`
|
||||
TelNum string `json:"telNum"`
|
||||
SubscriberNumber string `json:"subscriberNumber"`
|
||||
}
|
||||
|
||||
func GetUserInfoFromC(c *gin.Context) Info {
|
||||
|
Loading…
Reference in New Issue
Block a user