Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
9a6b2d35
Commit
9a6b2d35
authored
Sep 28, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 重置本地环境接口域名
parent
074e059d
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
18 additions
and
18 deletions
+18
-18
index.js
config/index.js
+1
-1
index.vue
src/components/aside-menu/index.vue
+1
-1
card-list.vue
src/components/linktools-fulls/card-list.vue
+1
-1
gift-list.vue
src/components/linktools-fulls/gift-list.vue
+1
-1
index.vue
src/components/linktools-fulls/index.vue
+2
-2
linktoolspage.vue
src/components/linktools-fulls/linktoolspage.vue
+1
-1
memberAuth.vue
src/components/linktools-fulls/memberAuth.vue
+1
-1
linktools.vue
src/components/linktools/linktools.vue
+1
-1
linktoolspage.vue
src/components/linktools/linktoolspage.vue
+1
-1
index.vue
src/components/member-info/index.vue
+1
-1
index.js
src/config/index.js
+2
-2
popApi.js
src/service/api/popApi.js
+1
-1
form.vue
src/views/cdkey/form.vue
+1
-1
api.js
src/views/ecm/marketing-event/assets/api.js
+1
-1
form.vue
src/views/game/dzp/form.vue
+1
-1
api.js
src/views/sign/assets/api.js
+1
-1
No files found.
config/index.js
View file @
9a6b2d35
...
...
@@ -11,7 +11,7 @@ module.exports = {
assetsPublicPath
:
'/marketing/'
,
proxyTable
:
{
'/dmApi/'
:
{
target
:
'http
s://hope.demogic
.com'
,
target
:
'http
://www.gicdev
.com'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/dmApi'
:
''
...
...
src/components/aside-menu/index.vue
View file @
9a6b2d35
...
...
@@ -60,7 +60,7 @@ export default {
var
host
=
window
.
location
.
origin
;
// console.log("当前host:",host)
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http
s://hope.demogic
.com'
;
that
.
baseUrl
=
'http
://www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/components/linktools-fulls/card-list.vue
View file @
9a6b2d35
...
...
@@ -130,7 +130,7 @@ export default {
created
()
{
const
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
s://hope.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
://www.gicdev
.com'
:
host
;
},
mounted
()
{
...
...
src/components/linktools-fulls/gift-list.vue
View file @
9a6b2d35
...
...
@@ -69,7 +69,7 @@ export default {
created
()
{
const
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
s://hope.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
://www.gicdev
.com'
:
host
;
},
methods
:
{
...
...
src/components/linktools-fulls/index.vue
View file @
9a6b2d35
...
...
@@ -7,7 +7,7 @@
<linktools :showType="showType" :linkToolsVisible="linkToolsVisible" @linkSelect="linkSelect"/>
// 直播间
// http
s://hope.demogic
.com/api-plug/list-wx-lives?requestProject=gic-web&type=0
// http
://www.gicdev
.com/api-plug/list-wx-lives?requestProject=gic-web&type=0
this.axios.get(`${this.baseUrl}/api-plug/list-wx-lives?requestProject=gic-web&type=0`).the()
import Linktools from 'components/linktools/linktools.vue'
...
...
@@ -731,7 +731,7 @@ export default {
this
.
giftFlag
=
false
;
var
that
=
this
var
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
s://hope.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
://www.gicdev
.com'
:
host
;
},
methods
:
{
// H5对接文档
...
...
src/components/linktools-fulls/linktoolspage.vue
View file @
9a6b2d35
...
...
@@ -688,7 +688,7 @@ export default {
this
.
giftFlag
=
false
;
var
that
=
this
var
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
!=
'-1'
?
'http
s://hope.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
!=
'-1'
?
'http
://www.gicdev
.com'
:
host
;
},
methods
:
{
getMore
()
{
...
...
src/components/linktools-fulls/memberAuth.vue
View file @
9a6b2d35
...
...
@@ -601,7 +601,7 @@ export default {
this
.
giftFlag
=
false
;
var
that
=
this
var
host
=
window
.
location
.
origin
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
s://hope.demogic
.com'
:
host
;
this
.
baseUrl
=
host
.
indexOf
(
'localhost'
)
>
-
1
?
'http
://www.gicdev
.com'
:
host
;
},
methods
:
{
getMore
()
{
...
...
src/components/linktools/linktools.vue
View file @
9a6b2d35
...
...
@@ -355,7 +355,7 @@ export default {
var
host
=
window
.
location
.
origin
;
console
.
log
(
'当前host:'
,
host
);
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http
s://hope.demogic
.com'
;
that
.
baseUrl
=
'http
://www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/components/linktools/linktoolspage.vue
View file @
9a6b2d35
...
...
@@ -370,7 +370,7 @@ export default {
let
host
=
window
.
location
.
origin
;
console
.
log
(
'当前host:'
,
host
);
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
that
.
baseUrl
=
'http
s://hope.demogic
.com'
;
that
.
baseUrl
=
'http
://www.gicdev
.com'
;
}
else
{
that
.
baseUrl
=
host
;
}
...
...
src/components/member-info/index.vue
View file @
9a6b2d35
...
...
@@ -54,7 +54,7 @@
<
script
>
/* eslint-disable */
const
host
=
window
.
location
.
origin
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http
s://hope.demogic
.com/'
:
host
;
export
const
baseUrl
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http
://www.gicdev
.com/'
:
host
;
export
default
{
name
:
'vue-gic-member-info'
,
props
:
{
...
...
src/config/index.js
View file @
9a6b2d35
export
default
{
// eslint-disable-next-line
api
:
process
.
env
[
'NODE_ENV'
]
===
'development'
?
'http
s://hope.demogic
.com/'
:
window
.
location
.
protocol
+
'//'
+
window
.
location
.
host
+
'/'
||
''
api
:
process
.
env
[
'NODE_ENV'
]
===
'development'
?
'http
://www.gicdev
.com/'
:
window
.
location
.
protocol
+
'//'
+
window
.
location
.
host
+
'/'
||
''
// /dmApi/
// http
s://hope.demogic
.com/
// http
://www.gicdev
.com/
// http://192.168.1.154:86/
};
...
...
src/service/api/popApi.js
View file @
9a6b2d35
...
...
@@ -27,5 +27,5 @@ export const removePopupPlan = params => requests(PREFIX + 'remove-popup-plan',
export
const
stopPopup
=
params
=>
requests
(
PREFIX
+
'stop-popup'
,
params
);
// 投放页面-获取自定义页面
// http
s://hope.demogic
.com/api-admin/list-page
// http
://www.gicdev
.com/api-admin/list-page
export
const
customPageList
=
params
=>
requests
(
`
${
config
.
api
}
api-admin/list-page`
,
params
);
src/views/cdkey/form.vue
View file @
9a6b2d35
...
...
@@ -73,7 +73,7 @@
</el-form>
<vue-gic-card
appendToBody
:showCardDialog
.
sync=
"showCardDialog"
@
selectCard=
"selectCard"
:cardLimit=
"-1"
:cardType=
"null"
></vue-gic-card>
<vue-gic-export-excel
:dialogVisible
.
sync=
"dialogVisible"
:dataArr=
"[1, 2, 3]"
:type=
"2"
:excelUrl=
"excelUrl"
:params=
"params"
:projectName=
"projectName"
></vue-gic-export-excel>
<!-- <form action="http
s://hope.demogic
.com/api-marketing/cdkey-fail-export" target="_blank" enctype="multipart/form-data">
<!-- <form action="http
://www.gicdev
.com/api-marketing/cdkey-fail-export" target="_blank" enctype="multipart/form-data">
<input type="text" name="requestProject" value="gic-web" />
<input type="file"/>
<button type="submit">submit</button>
...
...
src/views/ecm/marketing-event/assets/api.js
View file @
9a6b2d35
...
...
@@ -12,7 +12,7 @@ const MINI_TIME = 300;
let
TIME_OUT_MAX
=
20000
;
// 环境value
// 请求接口host
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http
s://hope.demogic
.com'
:
host
;
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http
://www.gicdev
.com'
:
host
;
// 请求组(判断当前请求数)
let
_requests
=
[];
...
...
src/views/game/dzp/form.vue
View file @
9a6b2d35
...
...
@@ -329,7 +329,7 @@ export default {
getHost
()
{
const
host
=
window
.
location
.
origin
;
if
(
host
.
indexOf
(
'localhost'
)
!=
'-1'
)
{
return
'http
s://hope.demogic
.com'
;
return
'http
://www.gicdev
.com'
;
}
else
{
return
host
;
}
...
...
src/views/sign/assets/api.js
View file @
9a6b2d35
...
...
@@ -11,7 +11,7 @@ const MINI_TIME = 300;
let
TIME_OUT_MAX
=
20000
;
// 环境value
// 请求接口host
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http
s://hope.demogic
.com'
:
host
;
let
_apiHost
=
host
.
indexOf
(
'localhost'
)
!==
-
1
?
'http
://www.gicdev
.com'
:
host
;
// 请求组(判断当前请求数)
let
_requests
=
[];
...
...
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