Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bh_face_counter
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
黄天晨
bh_face_counter
Commits
5daf525a
Commit
5daf525a
authored
Jul 12, 2023
by
黄日华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验证手机号还提示出店二维码问题
parent
b897e3b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
14 deletions
+20
-14
CounterMixins.js
src/pages/CounterMixins.js
+20
-14
No files found.
src/pages/CounterMixins.js
View file @
5daf525a
...
@@ -991,7 +991,6 @@ const CounterMixins = ComposeComponent => {
...
@@ -991,7 +991,6 @@ const CounterMixins = ComposeComponent => {
orderId
:
res
.
data
.
orderId
,
// 订单号,
orderId
:
res
.
data
.
orderId
,
// 订单号,
});
});
if
(
status
.
code
===
1
&&
status
.
data
===
1
)
{
if
(
status
.
code
===
1
&&
status
.
data
===
1
)
{
console
.
warn
(
'刷脸支付'
);
this
.
successPay
();
this
.
successPay
();
successPay
=
true
;
successPay
=
true
;
await
wait
(
3000
);
await
wait
(
3000
);
...
@@ -1124,26 +1123,33 @@ const CounterMixins = ComposeComponent => {
...
@@ -1124,26 +1123,33 @@ const CounterMixins = ComposeComponent => {
};
};
onOpen
=
async
()
=>
{
onOpen
=
async
()
=>
{
this
.
setState
({
cloudFinishModal
:
false
,
});
const
{
data
}
=
await
this
.
props
.
dispatch
({
const
{
data
}
=
await
this
.
props
.
dispatch
({
type
:
'store/open'
,
type
:
'store/open'
,
orderId
:
this
.
orderId
,
orderId
:
this
.
orderId
,
});
});
if
(
data
.
code
===
1
)
{
if
(
data
.
code
===
1
)
{
this
.
setState
({
cloudFinishModal
:
false
,
});
Speech
.
speak
(
data
.
msg
||
'门已经打开,谢谢惠顾'
);
Speech
.
speak
(
data
.
msg
||
'门已经打开,谢谢惠顾'
);
}
else
{
}
else
{
Speech
.
speak
(
data
.
msg
||
'开门失败,请联系客服处理'
);
setTimeout
(
async
()
=>
{
await
this
.
setState
({
const
{
data
:
dataNext
}
=
await
this
.
props
.
dispatch
({
cloudFinishModal
:
false
,
type
:
'store/open'
,
});
orderId
:
this
.
orderId
,
this
.
setState
({
});
noBuyModal
:
true
,
if
(
dataNext
.
code
===
1
)
{
});
Speech
.
speak
(
data
.
msg
||
'门已经打开,谢谢惠顾'
);
setTimeout
(()
=>
{
}
else
{
this
.
setState
({
noBuyModal
:
false
});
Speech
.
speak
(
data
.
msg
||
'开门失败,请联系客服处理'
);
},
30000
);
this
.
setState
({
noBuyModal
:
true
,
});
setTimeout
(()
=>
{
this
.
setState
({
noBuyModal
:
false
});
},
30000
);
}
},
500
);
}
}
this
.
clearList
();
this
.
clearList
();
};
};
...
...
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