Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
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
integralMall
integral-mall
Commits
c4ce6bbf
Commit
c4ce6bbf
authored
Aug 09, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 接口修改
parent
c9f0cc0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
44 deletions
+8
-44
coupon.vue
src/views/goods/coupon/coupon.vue
+2
-11
info.vue
src/views/goods/coupon/info.vue
+2
-11
gift.vue
src/views/goods/gift/gift.vue
+2
-11
info.vue
src/views/goods/gift/info.vue
+2
-11
No files found.
src/views/goods/coupon/coupon.vue
View file @
c4ce6bbf
...
...
@@ -313,18 +313,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId
()
{
request
.
get
(
'/api-
auth/get-login-user-info
'
).
then
(
res
=>
{
request
.
get
(
'/api-
integral-mall/can-differential-pricing
'
).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
this
.
enterpriseId
=
res
.
data
.
result
.
enterpriseId
;
let
id1
=
'ff8080815dacd3a2015dacd3ef5c0000'
;
let
id2
=
'ff80808163218c030163429b47110635'
;
let
id3
=
'ff8080816f12b5c0016f1d5896820147'
;
let
id4
=
'ff8080816a36326c016a53380d8b5f52'
;
if
(
this
.
enterpriseId
===
id1
||
this
.
enterpriseId
===
id2
||
this
.
enterpriseId
===
id3
||
this
.
enterpriseId
===
id4
)
{
this
.
specialOrder
=
true
;
}
else
{
this
.
specialOrder
=
false
;
}
this
.
specialOrder
=
res
.
data
.
result
==
1
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
src/views/goods/coupon/info.vue
View file @
c4ce6bbf
...
...
@@ -513,18 +513,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId
()
{
request
.
get
(
'/api-
auth/get-login-user-info
'
).
then
(
res
=>
{
request
.
get
(
'/api-
integral-mall/can-differential-pricing
'
).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
this
.
enterpriseId
=
res
.
data
.
result
.
enterpriseId
;
let
id1
=
'ff8080815dacd3a2015dacd3ef5c0000'
;
let
id2
=
'ff80808163218c030163429b47110635'
;
let
id3
=
'ff8080816f12b5c0016f1d5896820147'
;
let
id4
=
'ff8080816a36326c016a53380d8b5f52'
;
if
(
this
.
enterpriseId
===
id1
||
this
.
enterpriseId
===
id2
||
this
.
enterpriseId
===
id3
||
this
.
enterpriseId
===
id4
)
{
this
.
specialOrder
=
true
;
}
else
{
this
.
specialOrder
=
false
;
}
this
.
specialOrder
=
res
.
data
.
result
==
1
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
src/views/goods/gift/gift.vue
View file @
c4ce6bbf
...
...
@@ -315,18 +315,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId
()
{
request
.
get
(
'/api-
auth/get-login-user-info
'
).
then
(
res
=>
{
request
.
get
(
'/api-
integral-mall/can-differential-pricing
'
).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
this
.
enterpriseId
=
res
.
data
.
result
.
enterpriseId
;
let
id1
=
'ff8080815dacd3a2015dacd3ef5c0000'
;
let
id2
=
'ff80808163218c030163429b47110635'
;
let
id3
=
'ff8080816f12b5c0016f1d5896820147'
;
let
id4
=
'ff8080816a36326c016a53380d8b5f52'
;
if
(
this
.
enterpriseId
===
id1
||
this
.
enterpriseId
===
id2
||
this
.
enterpriseId
===
id3
||
this
.
enterpriseId
===
id4
)
{
this
.
specialOrder
=
true
;
}
else
{
this
.
specialOrder
=
false
;
}
this
.
specialOrder
=
res
.
data
.
result
==
1
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
src/views/goods/gift/info.vue
View file @
c4ce6bbf
...
...
@@ -686,18 +686,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId
()
{
request
.
get
(
'/api-
auth/get-login-user-info
'
).
then
(
res
=>
{
request
.
get
(
'/api-
integral-mall/can-differential-pricing
'
).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
this
.
enterpriseId
=
res
.
data
.
result
.
enterpriseId
;
let
id1
=
'ff8080815dacd3a2015dacd3ef5c0000'
;
let
id2
=
'ff80808163218c030163429b47110635'
;
let
id3
=
'ff8080816f12b5c0016f1d5896820147'
;
let
id4
=
'ff8080816a36326c016a53380d8b5f52'
;
if
(
this
.
enterpriseId
===
id1
||
this
.
enterpriseId
===
id2
||
this
.
enterpriseId
===
id3
||
this
.
enterpriseId
===
id4
)
{
this
.
specialOrder
=
true
;
}
else
{
this
.
specialOrder
=
false
;
}
this
.
specialOrder
=
res
.
data
.
result
==
1
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
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