Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
admin-backend
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
Odysseus
admin-backend
Commits
ca6f7cfb
Commit
ca6f7cfb
authored
May 21, 2024
by
brent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify client api
parent
ea110516
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
4 deletions
+15
-4
.DS_Store
.DS_Store
+0
-0
client.go
controllers/client.go
+4
-4
.DS_Store
uploads/.DS_Store
+0
-0
aigic-node-client.app.tar.gz
uploads/aigic-node-client.app.tar.gz
+0
-0
latest.json
uploads/latest.json
+11
-0
No files found.
.DS_Store
View file @
ca6f7cfb
No preview for this file type
controllers/client.go
View file @
ca6f7cfb
...
@@ -28,10 +28,10 @@ func (server *ClientController) GlobalStatistics() {
...
@@ -28,10 +28,10 @@ func (server *ClientController) GlobalStatistics() {
appRequest
:=
models
.
AppRequest
{}
appRequest
:=
models
.
AppRequest
{}
err
:=
json
.
Unmarshal
(
body
,
&
appRequest
)
//解析body中数据
err
:=
json
.
Unmarshal
(
body
,
&
appRequest
)
//解析body中数据
logs
.
Debug
(
"appRequest"
,
appRequest
)
logs
.
Debug
(
"appRequest"
,
appRequest
)
if
err
!=
nil
{
//
if err != nil {
server
.
respond
(
models
.
NoRequestBody
,
err
.
Error
())
//
server.respond(models.NoRequestBody, err.Error())
return
//
return
}
//
}
//if appRequest.WorkerAcc == "" {
//if appRequest.WorkerAcc == "" {
// server.respond(models.MissingParameter, "Missing worker_acc parameter")
// server.respond(models.MissingParameter, "Missing worker_acc parameter")
// return
// return
...
...
uploads/.DS_Store
0 → 100644
View file @
ca6f7cfb
File added
uploads/aigic-node-client.app.tar.gz
0 → 100644
View file @
ca6f7cfb
File added
uploads/latest.json
0 → 100644
View file @
ca6f7cfb
{
"version"
:
"v1.0.0"
,
"notes"
:
"Test version"
,
"pub_date"
:
"2020-06-22T19:25:57Z"
,
"platforms"
:
{
"darwin-x86_64"
:
{
"signature"
:
"dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRd1lIVjE4YnQ3VWdTbnJXR1BxNnFvYUdYcEUvSTBDSmdOSDFmeThaOEJZVGpXMkt6UTVyR1JLeVdwTFNXT3kvd2Z0NDNscFAva3JKZUV2d21mU0dkWFdHVlg0MmZyRGdzPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzE2Mjc2MDIxCWZpbGU6YWlnaWMtbm9kZS1jbGllbnQuYXBwLnRhci5negpmcDhHbVhmRnh6N1JFeWM3NlN0akhlRTkxSlNqcVM5YjcwSWJzalZ2Rm9zTjdWZWNKVVhTQXNMSVNMYkZqT3JHQWU3dytMQXprMXZMSkxpNytreUFEUT09Cg=="
,
"url"
:
"https://dev.aigic.ai/uploads/1.0.1/aigic-node-client_1.0.1_x64.dmg"
}
}
}
\ No newline at end of file
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