Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3529097f
authored
Mar 29, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'huy_dev_v2.0.0' into 'v2.0.0'
切换配置文件 See merge request
!7
2 parents
860fd86f
533d574d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
js/load.js
js/load.js
View file @
3529097
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-07-15 15:46:53
* @Date: 2021-07-15 15:46:53
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-03-
14 18:25:47
* @LastEditTime: 2022-03-
29 18:53:12
* @FilePath: \account\js\load.js
* @FilePath: \account\js\load.js
*/
*/
;
(
function
load
()
{
;
(
function
load
()
{
...
@@ -90,8 +90,8 @@ function loadConfig() {
...
@@ -90,8 +90,8 @@ function loadConfig() {
}
}
var
ajax
=
layui
.
$
.
ajax
var
ajax
=
layui
.
$
.
ajax
ajax
({
ajax
({
//
url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/glsx-oss-account-config',
url
:
'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/glsx-oss-account-config'
,
url
:
'http://oss-config.dev.glsx.com.cn/mock/5be17454f31545347559d499/config/glsx-oss-account-config'
,
//
url: 'http://oss-config.dev.glsx.com.cn/mock/5be17454f31545347559d499/config/glsx-oss-account-config',
async
:
false
,
async
:
false
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
store
.
setEx
(
'external'
,
res
.
external
,
10
*
60
*
1000
)
store
.
setEx
(
'external'
,
res
.
external
,
10
*
60
*
1000
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment