Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
config_repository
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
config_repository
Commits
0efea538
Commit
0efea538
authored
Dec 27, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xyqb-ui.js 临时放回去
parent
e1269e29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
xyqb-ui.js
ui/xyqb-ui.js
+43
-0
No files found.
ui/xyqb-ui.js
0 → 100644
View file @
0efea538
(
function
()
{
'
use strict
'
;
var
protocol
=
window
.
location
.
protocol
;
var
apiHost
=
protocol
+
'
//api.xyqb.com/
'
;
var
xyqbUserUIHost
=
protocol
+
'
//passport.xyqb.com/
'
;
var
authHost
=
protocol
+
'
//auth.xyqb.com/
'
;
var
bankCardReturnToken
=
'
BIND_RETURN_ONLINE
'
;
var
repayReturnToken
=
'
REPAY_RETURN_ONLINE
'
;
var
rebindRepayReturnToken
=
'
REBIND_RETURN_ONLINE
'
;
var
activityUI
=
protocol
+
'
//activity.xyqb.com/
'
;
var
qiniuHost
=
protocol
+
'
//ohsx2fi5w.bkt.clouddn.com/
'
;
var
btHost
=
protocol
+
'
//bt.xyqb.com/
'
;
var
shuntHost
=
protocol
+
'
//flow.xyqb.com/
'
;
var
h5Host
=
protocol
+
'
//h5.xyqb.com/
'
;
var
xyqbApp
=
angular
.
module
(
'
xyqbUiApp
'
);
xyqbApp
.
value
(
'
ApiBaseUrl
'
,
apiHost
);
xyqbApp
.
value
(
'
AuthBaseUrl
'
,
authHost
);
xyqbApp
.
value
(
'
ActivityUI
'
,
activityUI
);
xyqbApp
.
value
(
'
QiniuHostUrl
'
,
qiniuHost
);
xyqbApp
.
value
(
'
BtBaseUrl
'
,
btHost
);
xyqbApp
.
value
(
'
ShuntBaseUrl
'
,
shuntHost
);
xyqbApp
.
value
(
'
XyqbUserUI
'
,
xyqbUserUIHost
);
xyqbApp
.
value
(
'
h5BaseUrl
'
,
h5Host
);
if
(
location
.
host
===
'
58.xyqb.com
'
)
{
bankCardReturnToken
=
'
58BIND_RETURN_ONLINE
'
;
repayReturnToken
=
'
58REPAY_RETURN_ONLINE
'
;
rebindRepayReturnToken
=
'
58REBIND_RETURN_ONLINE
'
;
xyqbApp
.
value
(
'
BindCardToken
'
,
bankCardReturnToken
);
xyqbApp
.
value
(
'
RepayToken
'
,
repayReturnToken
);
xyqbApp
.
value
(
'
RebindToken
'
,
rebindRepayReturnToken
);
}
else
{
xyqbApp
.
value
(
'
BindCardToken
'
,
bankCardReturnToken
);
xyqbApp
.
value
(
'
RepayToken
'
,
repayReturnToken
);
xyqbApp
.
value
(
'
RebindToken
'
,
rebindRepayReturnToken
);
}
})();
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