Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meme_image
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
刘续中
meme_image
Commits
78375e5f
Commit
78375e5f
authored
Jun 19, 2024
by
brent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update aonweb sdk
parent
2a3cfc26
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
package-lock.json
package-lock.json
+4
-4
package.json
package.json
+1
-1
Index.vue
src/views/Index.vue
+3
-1
No files found.
package-lock.json
View file @
78375e5f
...
...
@@ -8,7 +8,7 @@
"name"
:
"AONET"
,
"version"
:
"0.0.0"
,
"dependencies"
:
{
"aonweb"
:
"^0.0.
2
"
,
"aonweb"
:
"^0.0.
5
"
,
"aos"
:
"^2.3.4"
,
"axios"
:
"^1.6.8"
,
"element-plus"
:
"^2.7.5"
,
...
...
@@ -1850,9 +1850,9 @@
}
},
"node_modules/aonweb"
:
{
"version"
:
"0.0.
2
"
,
"resolved"
:
"https://registry.npmjs.org/aonweb/-/aonweb-0.0.
2
.tgz"
,
"integrity"
:
"sha512-
JF1nzI79nTrESfWkorD6PPUuYNwW0YJ2qSsFMTRdT/13CABvhrlnkeP3y6KKyXhRP+gel/HilPDEsaAVdl5vX
Q=="
,
"version"
:
"0.0.
5
"
,
"resolved"
:
"https://registry.npmjs.org/aonweb/-/aonweb-0.0.
5
.tgz"
,
"integrity"
:
"sha512-
Z6f/sy+STKgkORJNs0fdbwrydMf7nUcProO6LDMlpkku0b+B1J3ilMY8h1f4HAYeCq6ogThL/OjLu68sgq8Oj
Q=="
,
"dependencies"
:
{
"@fingerprintjs/fingerprintjs"
:
"^4.4.0"
,
"uuid"
:
"^9.0.1"
,
...
...
package.json
View file @
78375e5f
...
...
@@ -11,7 +11,7 @@
"type-check"
:
"vue-tsc --build --force"
},
"dependencies"
:
{
"
aonweb
"
:
"
^0.0.
2
"
,
"
aonweb
"
:
"
^0.0.
5
"
,
"
aos
"
:
"
^2.3.4
"
,
"
axios
"
:
"
^1.6.8
"
,
"
element-plus
"
:
"
^2.7.5
"
,
...
...
src/views/Index.vue
View file @
78375e5f
...
...
@@ -149,6 +149,7 @@ const formSubmit = async () => {
const
ai_options
=
{
//Please replace with your own API key or jwt token.
auth
:
"
Rbhpcp0FKNrYNA1nZkrwrIbD0YSSRlVG
"
,
appid
:
""
// host: "http://localhost:8080"
}
...
...
@@ -166,7 +167,8 @@ const formSubmit = async () => {
}
}
console
.
log
(
"
formSubmit data
"
,
data
)
let
response
=
await
aonet
.
prediction
(
"
/predictions/ai/face-to-many
"
,
data
)
let
price
=
12.5
let
response
=
await
aonet
.
prediction
(
"
/predictions/ai/face-to-many
"
,
data
,
price
)
console
.
log
(
"
test
"
,
response
)
if
(
response
.
task
.
exec_code
==
200
&&
response
.
task
.
is_success
)
{
showLoading
.
value
=
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