fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
syntax = "v1"
|
||||
|
||||
import (
|
||||
"temp_station.api"
|
||||
)
|
||||
|
||||
type (
|
||||
DockSlotsReply {
|
||||
Docks []DockReply `json:"docks"`
|
||||
}
|
||||
DockReply {
|
||||
DockNo int `json:"dockNo"`
|
||||
Slots []DockSlotReply `json:"slots"`
|
||||
}
|
||||
DockSlotReply {
|
||||
SlotNo int `json:"slotNo"`
|
||||
Status string `json:"status"`
|
||||
Job *JobBrief `json:"job,omitempty"`
|
||||
}
|
||||
)
|
||||
|
||||
@server (
|
||||
jwt: Auth
|
||||
group: dock
|
||||
prefix: /api/v1
|
||||
)
|
||||
service hougai-api {
|
||||
@doc "接驳台槽位监控"
|
||||
@handler listDockSlots
|
||||
get /docks/slots returns (DockSlotsReply)
|
||||
}
|
||||
Reference in New Issue
Block a user