wms扫码入库逻辑代码提交

This commit is contained in:
alex
2023-06-16 15:10:11 +08:00
parent c0c3996690
commit 034d5746de
8 changed files with 96 additions and 32 deletions

View File

@@ -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)
};