50 lines
755 B
Go
50 lines
755 B
Go
package proto
|
|
|
|
import (
|
|
"service/api/base"
|
|
"service/dbstruct"
|
|
)
|
|
|
|
// api 创建
|
|
type ApiCreateReq struct {
|
|
base.BaseRequest
|
|
*dbstruct.StreamerAuthApproval
|
|
}
|
|
|
|
type ApiCreateData struct {
|
|
}
|
|
|
|
type ApiCreateResp struct {
|
|
base.BaseResponse
|
|
Data *ApiCreateData `json:"data"`
|
|
}
|
|
|
|
// api 删除
|
|
type ApiDeleteReq struct {
|
|
base.BaseRequest
|
|
Mid *int64 `json:"mid"`
|
|
}
|
|
|
|
type ApiDeleteData struct {
|
|
}
|
|
|
|
type ApiDeleteResp struct {
|
|
base.BaseResponse
|
|
Data *ApiDeleteData `json:"data"`
|
|
}
|
|
|
|
// api 列表
|
|
type ApiListReq struct {
|
|
base.BaseRequest
|
|
Mid *int64 `json:"mid"`
|
|
}
|
|
|
|
type ApiListData struct {
|
|
StreamerAuthApproval *StreamerAuthApprovalApiVO `json:"streamer_auth_approval"`
|
|
}
|
|
|
|
type ApiListResp struct {
|
|
base.BaseResponse
|
|
Data *ApiListData `json:"data"`
|
|
}
|