Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
s_guodong
gjjs-bd-common
Commits
674da1c5
Commit
674da1c5
authored
Aug 23, 2023
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9263beb0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
LoginConstants.java
...s/src/main/java/com/ceb/gjjs/mda/util/LoginConstants.java
+1
-0
LoginData.java
...siness/src/main/java/com/ceb/gjjs/mda/util/LoginData.java
+16
-8
No files found.
gjjs-bd-business/src/main/java/com/ceb/gjjs/mda/util/LoginConstants.java
View file @
674da1c5
...
@@ -16,6 +16,7 @@ public class LoginConstants {
...
@@ -16,6 +16,7 @@ public class LoginConstants {
//用户ID
//用户ID
public
static
final
String
usrinr
=
"usrinr"
;
public
static
final
String
usrinr
=
"usrinr"
;
public
static
final
String
userid
=
"userid"
;
public
static
final
String
cifno
=
"cifno"
;
public
static
final
String
cifno
=
"cifno"
;
public
static
final
String
ptyinr
=
"ptyinr"
;
public
static
final
String
ptyinr
=
"ptyinr"
;
public
static
final
String
errorText
=
"errorText"
;
public
static
final
String
errorText
=
"errorText"
;
...
...
gjjs-bd-business/src/main/java/com/ceb/gjjs/mda/util/LoginData.java
View file @
674da1c5
package
com
.
ceb
.
gjjs
.
mda
.
util
;
package
com
.
ceb
.
gjjs
.
mda
.
util
;
import
com.brilliance.mda.runtime.mda.driver.MdaEnv
;
import
com.brilliance.mda.runtime.mda.driver.MdaEnv
;
import
com.brilliance.mda.support.td.BDAuthInfo
;
/**
/**
* @author zh
* @author zh
...
@@ -8,22 +9,29 @@ import com.brilliance.mda.runtime.mda.driver.MdaEnv;
...
@@ -8,22 +9,29 @@ import com.brilliance.mda.runtime.mda.driver.MdaEnv;
*/
*/
public
class
LoginData
{
public
class
LoginData
{
public
static
Object
getLoginData
(
String
param
)
{
public
static
Object
getLoginData
(
String
param
)
{
if
(
LoginConstants
.
usrinr
.
equals
(
param
))
if
(
LoginConstants
.
usrinr
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getUsrInr
();
return
MdaEnv
.
getAuthInfo
().
getUsrInr
();
else
if
(
LoginConstants
.
errorText
.
equals
(
param
))
}
else
if
(
LoginConstants
.
errorText
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getErrorText
();
return
MdaEnv
.
getAuthInfo
().
getErrorText
();
else
if
(
LoginConstants
.
ncid
.
equals
(
param
))
}
else
if
(
LoginConstants
.
ncid
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getPtyInr
();
return
MdaEnv
.
getAuthInfo
().
getPtyInr
();
else
if
(
LoginConstants
.
CN
.
equals
(
param
))
}
else
if
(
LoginConstants
.
CN
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getCn
();
return
MdaEnv
.
getAuthInfo
().
getCn
();
else
if
(
LoginConstants
.
__terminalType
.
equals
(
param
))
}
else
if
(
LoginConstants
.
__terminalType
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getTerminalType
();
return
MdaEnv
.
getAuthInfo
().
getTerminalType
();
else
if
(
LoginConstants
.
algorithm
.
equals
(
param
))
}
else
if
(
LoginConstants
.
algorithm
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getAlgorithm
();
return
MdaEnv
.
getAuthInfo
().
getAlgorithm
();
else
if
(
LoginConstants
.
CERT
.
equals
(
param
))
}
else
if
(
LoginConstants
.
CERT
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getCert
();
return
MdaEnv
.
getAuthInfo
().
getCert
();
else
if
(
LoginConstants
.
needSign
.
equals
(
param
))
}
else
if
(
LoginConstants
.
needSign
.
equals
(
param
))
{
return
MdaEnv
.
getAuthInfo
().
getNeedSign
();
return
MdaEnv
.
getAuthInfo
().
getNeedSign
();
}
else
if
(
LoginConstants
.
cifno
.
equals
(
param
))
{
BDAuthInfo
authInfo
=
(
BDAuthInfo
)
MdaEnv
.
getAuthInfo
();
return
authInfo
.
getCifno
();
}
else
if
(
LoginConstants
.
userid
.
equals
(
param
))
{
BDAuthInfo
authInfo
=
(
BDAuthInfo
)
MdaEnv
.
getAuthInfo
();
return
authInfo
.
getUserid
();
}
return
null
;
return
null
;
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment