Merge branch 'dev' of ssh://git.tuotong-tech.com:9105/tnb/tnb.server into dev
This commit is contained in:
@@ -194,7 +194,18 @@ public class UserManager : IUserManager, IScoped
|
||||
/// </summary>
|
||||
public string UserOrigin
|
||||
{
|
||||
get => _httpContext?.Request.Headers["jnpf-origin"];
|
||||
//modifyby zhoukeda 调用发起工作流接口取不到pc还是app 改成默认pc
|
||||
get
|
||||
{
|
||||
try
|
||||
{
|
||||
return _httpContext?.Request.Headers["jnpf-origin"] ?? "pc";
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
return "pc";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user