Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swifteditor
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
fukai
swifteditor
Commits
a8eb2265
Commit
a8eb2265
authored
Nov 01, 2024
by
s_guodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复跨域取session问题
parent
452b6c44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
index.html
src/entries/index.html
+3
-0
Result.js
src/swift/Result.js
+1
-1
No files found.
src/entries/index.html
View file @
a8eb2265
...
...
@@ -39,6 +39,9 @@
//测试环境
window
.
BANK_LOGIC_ADDRESS
=
"NYCBCNS0AXXX"
window
.
BANK_BIC
=
"NYCBCNS0XXX"
window
.
username
=
window
.
location
.
search
.
substring
(
1
);
console
.
log
(
"username=============="
+
window
.
username
);
//生产环境
//window.BANK_LOGIC_ADDRESS = "NYCBCNSHAXXX"
//window.BANK_BIC = "NYCBCNSHXXX"
...
...
src/swift/Result.js
View file @
a8eb2265
...
...
@@ -18,7 +18,7 @@ const Step = Steps.Step;
componentWillMount
()
{
//提交报文
let
user
=
sessionStorage
.
getItem
(
"j_username"
)
let
user
=
window
.
username
let
datas
=
{
MSGTYP
:
this
.
props
.
extra
.
msgtyp
.
substring
(
2
).
toUpperCase
(),
SNDKEY
:
this
.
props
.
sndkey
,
MCTSWTID
:
this
.
props
.
extra
.
mctid
}
//取出20,21
let
tags
=
this
.
props
.
swift_message_tree
.
Tags
...
...
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