This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
xh
/
applte
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
完成人脸录入功能
master
xiaohei
1 year ago
parent
bec07894e9
commit
021187728a
2 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
pages/Bluetooth/Bluetooth.js
+8
-0
pagesA/facepeople/facepeople.js
+ 1
- 0
pages/Bluetooth/Bluetooth.js
View File
@ -1872,6 +1872,7 @@ Page({
deviceId
:
_this
.
data
.
deviceInfo
.
id
,
}
]
WXAPI
.
bindDeviceSite
(
data2
)
.
then
(
res2
=>
{
console
.
log
(
data2
)
;
if
(
res2
.
success
)
{
_this
.
getdevice
(
)
wx
.
showToast
(
{
+ 8
- 0
pagesA/facepeople/facepeople.js
View File
@ -270,6 +270,14 @@ Page({
if
(
res
.
success
)
{
faceaddIndex
=
res
.
data
.
index
serialNumber
=
res
.
data
.
serialNumber
this
.
setData
(
{
show2
:
false
}
)
wx
.
showToast
(
{
title
:
'添加人脸凭证成功'
,
icon
:
'none'
,
duration
:
2000
}
)
}
else
{
wx
.
showToast
(
{
title
:
res
.
msg
,
Write
Preview
Loading…
Cancel
Save