Commit a8eb2265 by s_guodong

修复跨域取session问题

parent 452b6c44
......@@ -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"
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment