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
b305ec79
Commit
b305ec79
authored
Jun 30, 2020
by
修福龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刷脸开门系统
parent
8af95728
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
OrderDetailsModal.js
src/components/OrderDetailsModal.js
+0
-0
store.js
src/models/store.js
+8
-0
FacePage.js
src/pages/FacePage.js
+0
-0
store.js
src/services/store.js
+8
-0
No files found.
src/components/OrderDetailsModal.js
View file @
b305ec79
This diff is collapsed.
Click to expand it.
src/models/store.js
View file @
b305ec79
...
@@ -140,6 +140,14 @@ export default {
...
@@ -140,6 +140,14 @@ export default {
const
{
data
}
=
yield
call
(
api
.
verifysms
,
action
);
const
{
data
}
=
yield
call
(
api
.
verifysms
,
action
);
return
data
;
return
data
;
},
},
*
agora
(
action
,
{
call
})
{
const
{
data
}
=
yield
call
(
api
.
agora
);
return
data
;
},
*
talkCall
(
action
,
{
call
})
{
const
{
data
}
=
yield
call
(
api
.
talkCall
);
return
data
;
},
},
},
};
};
...
...
src/pages/FacePage.js
View file @
b305ec79
This diff is collapsed.
Click to expand it.
src/services/store.js
View file @
b305ec79
...
@@ -53,3 +53,11 @@ export function sendsms({phone}) {
...
@@ -53,3 +53,11 @@ export function sendsms({phone}) {
export
function
verifysms
({
phone
,
code
,
userId
})
{
export
function
verifysms
({
phone
,
code
,
userId
})
{
return
axios
.
post
(
'/store/verifysms'
,
qs
.
stringify
({
phone
,
code
,
userId
}));
return
axios
.
post
(
'/store/verifysms'
,
qs
.
stringify
({
phone
,
code
,
userId
}));
}
}
export
function
agora
()
{
return
axios
.
post
(
'/store/agora/token'
);
}
export
function
talkCall
()
{
return
axios
.
post
(
'/store/agora/call'
);
}
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