Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReaderFail ¶
func ReaderFail(c *gin.Context, code errort.OpenApiErrorCode)
func ReaderSuccess ¶
func UrlDecodeParam ¶
Types ¶
type CommonOpenResponse ¶
type CommonOpenResponse struct { Code errort.OpenApiErrorCode `json:"code"` Msg errort.OpenApiErrorMsg `json:"msg,omitempty"` Success bool `json:"success"` // 返回13位时间戳 time.Now.UnixNano / 1e6 T int64 `json:"t"` Result interface{} `json:"result,omitempty"` }
Click to show internal directories.
Click to hide internal directories.