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
72f2e2ff
Commit
72f2e2ff
authored
Feb 24, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
e6ae8fe9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
19 deletions
+29
-19
op-ui.js
lua-ui/config/op-ui.js
+29
-19
No files found.
lua-ui/config/op-ui.js
View file @
72f2e2ff
'
use strict
'
;
const
protocol
=
window
.
location
.
protocol
const
opSystem
=
'
XYQBGLXT
'
const
opapiHost
=
`
${
protocol
}
//192.168.4.50:7047`
const
domain
=
'
q-gp.com
'
var
app
=
angular
.
module
(
'
app
'
);
var
apiHost
=
'
http://opapi.domain.com
'
;
var
RedpacketApiBaseUrl
=
'
http://redpacket.domain.com
'
;
var
authHost
=
'
http://opapi.domain.com
'
;
var
QiniuBaseUrl
=
'
http://7xtgdu.com1.z0.glb.clouddn.com/
'
var
ActivityApiHost
=
'
http://actapi.domain.com
'
;
var
ActivityQiniuBaseUrl
=
'
http://ohsx2fi5w.bkt.clouddn.com/
'
;
app
.
value
(
'
ApiBaseUrl
'
,
apiHost
);
app
.
value
(
'
RedpacketApiBaseUrl
'
,
RedpacketApiBaseUrl
);
app
.
value
(
'
AuthBaseUrl
'
,
authHost
);
app
.
value
(
'
QiniuBaseUrl
'
,
QiniuBaseUrl
);
app
.
value
(
'
ActivityQiniuBaseUrl
'
,
ActivityQiniuBaseUrl
);
app
.
value
(
'
ActivityApiBaseUrl
'
,
ActivityApiHost
);
\ No newline at end of file
export
default
{
opSystem
,
opapiHost
,
domain
}
// 'use strict';
//
// var app = angular.module('app');
//
// var apiHost = 'http://opapi.domain.com';
// var RedpacketApiBaseUrl = 'http://redpacket.domain.com';
//
// var authHost ='http://opapi.domain.com';
// var QiniuBaseUrl = 'http://7xtgdu.com1.z0.glb.clouddn.com/'
//
// var ActivityApiHost = 'http://actapi.domain.com';
// var ActivityQiniuBaseUrl = 'http://ohsx2fi5w.bkt.clouddn.com/';
//
// app.value('ApiBaseUrl', apiHost);
// app.value('RedpacketApiBaseUrl', RedpacketApiBaseUrl);
// app.value('AuthBaseUrl', authHost);
// app.value('QiniuBaseUrl', QiniuBaseUrl);
//
// app.value('ActivityQiniuBaseUrl', ActivityQiniuBaseUrl);
// app.value('ActivityApiBaseUrl', ActivityApiHost);
\ No newline at end of file
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