Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
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
ui
group-buy-ui
Commits
51abda43
Commit
51abda43
authored
Sep 24, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更改api地址
parent
a74f227f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
env.config.js
src/config/env.config.js
+5
-5
payResult.vue
src/views/pay/payResult.vue
+5
-5
No files found.
src/config/env.config.js
View file @
51abda43
...
...
@@ -7,16 +7,16 @@
const
protocol
=
window
.
location
.
protocol
;
const
qiniuHost
=
protocol
+
'
//kdspstatic.q-gp.com/
'
;
const
shenceHost
=
'
https://bn.xyqb.com/sa?project=default
'
;
// 测试地址
const
talosHost
=
'
https://talos-
vcc3
.liangkebang.net
'
;
const
faceHost
=
'
https://auth-
vcc3
.liangkebang.net
'
;
const
kdspHost
=
'
https://kdsp-api-
vcc3
.liangkebang.net
'
;
const
localHost
=
'
https://group-buy-
vcc3
.liangkebang.net
'
;
// 测试环境页面地址
const
talosHost
=
'
https://talos-
test1
.liangkebang.net
'
;
const
faceHost
=
'
https://auth-
test1
.liangkebang.net
'
;
const
kdspHost
=
'
https://kdsp-api-
test1
.liangkebang.net
'
;
const
localHost
=
'
https://group-buy-
test1
.liangkebang.net
'
;
// 测试环境页面地址
// const talosHost = 'http://192.168.29.89:8098'; // 唐峰
// const talosHost = 'http://192.168.25.210:8080'; // 张超
// const talosHost = 'http://192.168.28.83:80'; // 董彪
// const talosHost = 'http://192.168.25.122:8098'; // 王永杰
// const talosHost = protocol + '//192.168.28.41'; // 超人
const
opapiHost
=
'
https://opapi-
vcc3
.liangkebang.net
'
;
const
opapiHost
=
'
https://opapi-
test1
.liangkebang.net
'
;
const
VCC_CHANNEL
=
''
;
const
TERMINAL
=
'
H5
'
;
const
VERSION
=
'
7.9.00
'
;
...
...
src/views/pay/payResult.vue
View file @
51abda43
...
...
@@ -63,7 +63,7 @@
/>
</div>
</div>
<
Goods
/
>
<
!--
<Goods
/>
--
>
<sharePic
ref=
"sharePic"
:share-pic-data=
"sharePicData"
@
outputPicUrl=
"outputPicUrl"
/>
</div>
</
template
>
...
...
@@ -72,13 +72,13 @@ import { goUrlExtends } from './extends';
import
CouponCard
from
'
./components/CouponCard.vue
'
;
import
{
getCouponList
}
from
'
@/api/pay.api
'
;
import
groupBuyApi
from
'
@/api/groupBuy
'
;
import
Goods
from
'
@/components/RecoGoods/RecoGoods.vue
'
;
//
import Goods from '@/components/RecoGoods/RecoGoods.vue';
import
{
isApp
,
isWxMp
}
from
'
@/service/validation.service
'
;
import
{
EventBus
}
from
'
@/service/utils.service
'
;
import
sharePic
from
'
@/components/sharePic
'
;
export
default
{
components
:
{
Goods
,
//
Goods,
CouponCard
,
sharePic
},
...
...
@@ -99,10 +99,10 @@ export default {
};
},
created
()
{
const
{
orderNo
,
reason
,
finalAm
t
,
freeAmount
,
payType
}
=
this
.
$route
.
query
;
const
{
orderNo
,
reason
,
amoun
t
,
freeAmount
,
payType
}
=
this
.
$route
.
query
;
const
{
success
}
=
this
.
$route
.
meta
;
this
.
payType
=
payType
||
''
;
this
.
money
=
finalAm
t
||
''
;
this
.
money
=
amoun
t
||
''
;
this
.
orderNo
=
orderNo
;
this
.
reason
=
reason
||
''
;
this
.
isSuccess
=
success
||
false
;
...
...
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