Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
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
member
member
Commits
cd5cd61d
Commit
cd5cd61d
authored
Aug 08, 2022
by
曾经
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
域名 全局更换
parent
0bd3c522
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
19 additions
and
19 deletions
+19
-19
index.html
index.html
+1
-1
App.vue
src/App.vue
+1
-1
request.js
src/api/request.js
+2
-2
vueGicGroup.vue
src/common/vueGicGroup.vue
+1
-1
url.js
src/components/axios/url.js
+1
-1
wechatmembers.js
src/components/wechatmembers/wechatmembers.js
+4
-4
index.js
src/config/index.js
+1
-1
http.js
src/request/http.js
+1
-1
card-list.vue
src/test/card-list.vue
+1
-1
gift-list.vue
src/test/gift-list.vue
+1
-1
config.js
src/test/goods/config.js
+1
-1
linktools.vue
src/test/linktools.vue
+1
-1
login.vue
src/view/login/login.vue
+3
-3
No files found.
index.html
View file @
cd5cd61d
...
...
@@ -42,7 +42,7 @@
(
function
()
{
var
src
=
'/component/static/import-component.js?timestrap='
+
new
Date
().
getTime
();
var
host
=
window
.
location
.
host
;
host
=
host
.
indexOf
(
'localhost'
)
>
-
1
||
host
.
indexOf
(
'192.168'
)
>
-
1
?
'
gicdev.demogic
.com'
:
host
;
host
=
host
.
indexOf
(
'localhost'
)
>
-
1
||
host
.
indexOf
(
'192.168'
)
>
-
1
?
'
www.gicdev
.com'
:
host
;
document
.
write
(
'<script src="//'
+
host
+
src
+
'"><
\
/script>'
)
})()
</script>
...
...
src/App.vue
View file @
cd5cd61d
...
...
@@ -17,7 +17,7 @@ export default {
},
created
()
{
this
.
baseUrl
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
window
.
location
.
origin
;
this
.
baseUrl
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
window
.
location
.
origin
;
this
.
_getUserInfo
();
this
.
changeTab
();
this
.
isEditClique
();
...
...
src/api/request.js
View file @
cd5cd61d
...
...
@@ -5,9 +5,9 @@ import router from '../router';
// axios 配置
// axios.defaults.timeout = 5000;
// let adminUrl = 'http://
gicdev.demogic
.com'
// let adminUrl = 'http://
www.gicdev
.com'
// let adminUrl = process.env.NODE_ENV === 'production' ? '':'http://111.231.99.90:8880/app/mock/19'
let
adminUrl
=
process
.
env
.
NODE_ENV
===
'production'
?
''
:
'http://
gicdev.demogic
.com'
;
let
adminUrl
=
process
.
env
.
NODE_ENV
===
'production'
?
''
:
'http://
www.gicdev
.com'
;
let
request
;
request
=
axios
.
create
({
baseURL
:
adminUrl
,
...
...
src/common/vueGicGroup.vue
View file @
cd5cd61d
...
...
@@ -55,7 +55,7 @@ export default {
created
()
{
this
.
baseURL
=
window
.
location
.
origin
.
indexOf
(
"host"
)
>
-
1
?
window
.
location
.
origin
:
"http:
gicdev.demogic
.com"
;
:
"http:
www.gicdev
.com"
;
this
.
getStoreId
();
},
methods
:
{
...
...
src/components/axios/url.js
View file @
cd5cd61d
const
host
=
window
.
location
.
origin
;
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
const
urlConfig
=
{
updateBabyInfo
:
'/api-member/update-member-baby-info'
,
// 更新宝宝信息
...
...
src/components/wechatmembers/wechatmembers.js
View file @
cd5cd61d
...
...
@@ -1019,12 +1019,12 @@ export default {
},
// premodefiySubStoreId
promiseAll
()
{
// http://
gicdev.demogic
.com/api-member/find-member-fields?requestProject=member
// http://
gicdev.demogic
.com/api-member/enterprise-info?requestProject=member
// http://
www.gicdev
.com/api-member/find-member-fields?requestProject=member
// http://
www.gicdev
.com/api-member/enterprise-info?requestProject=member
let
urls
=
[
'http://
gicdev.demogic
.com/api-member/find-member-fields?requestProject=member'
,
'http://
gicdev.demogic
.com/api-member/enterprise-info?requestProject=member'
'http://
www.gicdev
.com/api-member/find-member-fields?requestProject=member'
,
'http://
www.gicdev
.com/api-member/enterprise-info?requestProject=member'
];
let
requests
=
urls
.
map
(
url
=>
fetch
(
url
));
...
...
src/config/index.js
View file @
cd5cd61d
const
host
=
window
.
location
.
origin
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
export
const
ERR_OK
=
0
;
src/request/http.js
View file @
cd5cd61d
...
...
@@ -2,7 +2,7 @@ import axios from 'axios';
import
QS
from
'qs'
;
import
{
Message
}
from
'element-ui'
;
axios
.
defaults
.
baseURL
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
window
.
location
.
origin
;
axios
.
defaults
.
baseURL
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
window
.
location
.
origin
;
axios
.
defaults
.
timeout
=
10000
;
axios
.
defaults
.
headers
.
post
[
'Content-Type'
]
=
'appliaction/x-www-form-urlencoded;charset=UTF-8'
;
...
...
src/test/card-list.vue
View file @
cd5cd61d
...
...
@@ -128,7 +128,7 @@ export default {
created
()
{
const
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
"localhost"
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
"localhost"
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
},
mounted
()
{
...
...
src/test/gift-list.vue
View file @
cd5cd61d
...
...
@@ -86,7 +86,7 @@ export default {
created
()
{
const
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
"localhost"
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
"localhost"
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
},
methods
:
{
...
...
src/test/goods/config.js
View file @
cd5cd61d
const
host
=
window
.
location
.
origin
;
export
const
baseUrl
=
host
.(
'localhost'
)
?
'http://
gicdev.demogic
.com'
:
host
;
export
const
baseUrl
=
host
.(
'localhost'
)
?
'http://
www.gicdev
.com'
:
host
;
src/test/linktools.vue
View file @
cd5cd61d
...
...
@@ -591,7 +591,7 @@ export default {
this
.
giftFlag
=
false
;
var
that
=
this
var
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
gicdev.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http://
www.gicdev
.com'
:
host
;
},
methods
:
{
changeVisible
()
{
...
...
src/view/login/login.vue
View file @
cd5cd61d
...
...
@@ -124,7 +124,7 @@ export default {
searchOption
()
{
if
(
this
.
form
.
loginName
)
{
this
.
axios
.
get
(
"http://
gicdev.demogic
.com/api-auth/list-login-enterprise"
,
{
.
get
(
"http://
www.gicdev
.com/api-auth/list-login-enterprise"
,
{
params
:
{
loginName
:
this
.
form
.
loginName
}
...
...
@@ -157,7 +157,7 @@ export default {
if
(
this
.
eid
)
{
this
.
axios
.
post
(
"http://
gicdev.demogic
.com/api-auth/do-login"
,
"http://
www.gicdev
.com/api-auth/do-login"
,
qs
.
stringify
({
loginName
:
this
.
form
.
loginName
,
password
:
this
.
form
.
password
,
...
...
@@ -189,7 +189,7 @@ export default {
}
}
else
{
this
.
axios
.
get
(
"http://
gicdev.demogic
.com/api-auth/list-login-enterprise"
,
{
.
get
(
"http://
www.gicdev
.com/api-auth/list-login-enterprise"
,
{
params
:
{
loginName
:
this
.
form
.
loginName
}
...
...
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