# Functions
DefaultBoolResp 默认返回响应状态,主要用于对接go-zero.
* DefaultListResp 默认返回列表数据响应,用于分页查询数据,主要用于对接go-zero
* err error 提示信息
* data any 返回数据
* totalRecord in64 总数据量
* pageSize int64 单页数据量
* Current int64 当前页码
*/.
DefaultSingleResp 默认返回单数据响应,主要用于对接go-zero.
DefaultStatusResp 默认返回响应状态,主要用于对接go-zero.
* ListResp 返回列表数据响应,用于分页查询数据
* alertMsg string 提示信息
* data any 返回数据
* totalRecord in64 总数据量
* pageSize int64 单页数据量
* Current int64 当前页码
*/.
Msg 根据error返回不同提示信息.
No description provided by the author
No description provided by the author
SingleResp 返回单数据响应.
StatusResp 返回响应状态.
# Variables
respx只会返回成功的请求.