You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
690 B
33 lines
690 B
package http |
|
|
|
import ( |
|
bm "go-common/library/net/http/blademaster" |
|
) |
|
|
|
func queryMachineLifeCycle(c *bm.Context) { |
|
c.JSON(svc.QueryMachineLifeCycle(c)) |
|
} |
|
|
|
func queryMachineCount(c *bm.Context) { |
|
c.JSON(svc.QueryMachineCount(c)) |
|
} |
|
|
|
func queryMachineTime(c *bm.Context) { |
|
c.JSON(svc.QueryMachineCreatedAndEndTime(c)) |
|
} |
|
|
|
func queryMachineUsage(c *bm.Context) { |
|
c.JSON(svc.QueryMachineUsage(c)) |
|
} |
|
|
|
func queryMobileMachineUsageCount(c *bm.Context) { |
|
c.JSON(svc.QueryMobileMachineUsageCount(c)) |
|
} |
|
|
|
func queryMobileMachineModeCount(c *bm.Context) { |
|
c.JSON(svc.QueryMobileMachineModeCount(c)) |
|
} |
|
|
|
func queryMobileMachineUsageTime(c *bm.Context) { |
|
c.JSON(svc.QueryMobileMachineUsageTime(c)) |
|
}
|
|
|