wms扫码入库逻辑代码提交
This commit is contained in:
@@ -279,6 +279,8 @@ public class OAuthService : IDynamicApiController, ITransient
|
||||
public async Task<dynamic> GetCurrentUser(string type)
|
||||
{
|
||||
if (type.IsNullOrEmpty()) type = "Web"; // 默认为Web端菜单目录
|
||||
//modify by ly on 20230616 用于区分pc与 pda
|
||||
_userManager.User.LoginType = type;
|
||||
|
||||
var userId = _userManager.UserId;
|
||||
|
||||
@@ -669,7 +671,8 @@ public class OAuthService : IDynamicApiController, ITransient
|
||||
}
|
||||
}
|
||||
|
||||
return new {
|
||||
return new
|
||||
{
|
||||
theme = user.Theme == null ? "classic" : user.Theme,
|
||||
token = string.Format("Bearer {0}", accessToken)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user