Fixed: fixed bug scrcpy and shell is disconnect when switch page
This commit is contained in:
parent
9543d4541c
commit
0fe469b5c6
43 changed files with 1378 additions and 1366 deletions
6
server/models/v2/material.go
Normal file
6
server/models/v2/material.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package v2
|
||||
|
||||
type MaterialDashboard struct {
|
||||
Lebel string `json:"lebel"`
|
||||
Value string `json:"value"`
|
||||
}
|
||||
16
server/models/v2/recipe.go
Normal file
16
server/models/v2/recipe.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package v2
|
||||
|
||||
/*
|
||||
This is the recipe model that specificly for API v2 version.
|
||||
But some of the model of recipe can be used in the main version of the API.
|
||||
*/
|
||||
|
||||
type DashboardRecipe struct {
|
||||
ProductCode string `json:"productCode"`
|
||||
InUse bool `json:"inUse"`
|
||||
Name string `json:"name"`
|
||||
NameENG string `json:"nameEng"`
|
||||
Image string `json:"image"`
|
||||
LastUpdated string `json:"lastUpdated"`
|
||||
SubRecipe []*DashboardRecipe `json:"subRecipe,omitempty"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue