登录接口新增字段,区分是否匿名用户
This commit is contained in:
parent
e897520326
commit
520aaac302
|
|
@ -139,7 +139,8 @@ namespace WGShare.API.Controllers
|
||||||
expire = _configuration["Jwt:Expires"].ToInt32(),
|
expire = _configuration["Jwt:Expires"].ToInt32(),
|
||||||
account = user.Account,
|
account = user.Account,
|
||||||
uid = user.Id,
|
uid = user.Id,
|
||||||
screenShareId = user.ScreenShareId
|
screenShareId = user.ScreenShareId,
|
||||||
|
isAnonymous = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -191,7 +192,8 @@ namespace WGShare.API.Controllers
|
||||||
expire = _configuration["Jwt:Expires"].ToInt32(),
|
expire = _configuration["Jwt:Expires"].ToInt32(),
|
||||||
account = user.Account,
|
account = user.Account,
|
||||||
uid = user.Id,
|
uid = user.Id,
|
||||||
screenShareId = user.ScreenShareId
|
screenShareId = user.ScreenShareId,
|
||||||
|
isAnonymous = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -271,7 +273,8 @@ namespace WGShare.API.Controllers
|
||||||
expire = _configuration["Jwt:Expires"].ToInt32(),
|
expire = _configuration["Jwt:Expires"].ToInt32(),
|
||||||
account = user.Account,
|
account = user.Account,
|
||||||
uid = user.Id,
|
uid = user.Id,
|
||||||
screenShareId = user.ScreenShareId
|
screenShareId = user.ScreenShareId,
|
||||||
|
isAnonymous = true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue