Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Code int `description: "返回码"` Message string `description: "返回码描述"` Translate string `description: "返回码提示翻译"` Detail string `description: "详细错误信息,不展示,仅供调试时使用"` Data interface{} `description: "返回数据"` }
func (*Response) SuccessNeedReboot ¶
func (this *Response) SuccessNeedReboot(data ...interface{})
成功返回但需要重启设备
Click to show internal directories.
Click to hide internal directories.