63 lines
980 B
Go
63 lines
980 B
Go
package proto
|
|
|
|
import (
|
|
"service/api/base"
|
|
"service/dbstruct"
|
|
)
|
|
|
|
// api 创建
|
|
type ApiCreateReq struct {
|
|
base.BaseRequest
|
|
*dbstruct.StreamerAuthApprovalDetails
|
|
}
|
|
|
|
type ApiCreateData struct {
|
|
}
|
|
|
|
type ApiCreateResp struct {
|
|
base.BaseResponse
|
|
Data *ApiCreateData `json:"data"`
|
|
}
|
|
|
|
// api 删除
|
|
type ApiDeleteReq struct {
|
|
base.BaseRequest
|
|
}
|
|
|
|
type ApiDeleteData struct {
|
|
}
|
|
|
|
type ApiDeleteResp struct {
|
|
base.BaseResponse
|
|
Data *ApiDeleteData `json:"data"`
|
|
}
|
|
|
|
// api 列表
|
|
type ApiListReq struct {
|
|
base.BaseRequest
|
|
}
|
|
|
|
type ApiListData struct {
|
|
*StreamerAuthApprovalDetailsApiVO
|
|
}
|
|
|
|
type ApiListResp struct {
|
|
base.BaseResponse
|
|
Data *ApiListData `json:"data"`
|
|
}
|
|
|
|
// api 列表
|
|
type ApiGetApproveStatusesReq struct {
|
|
base.BaseRequest
|
|
}
|
|
|
|
type ApiGetApproveStatusesData struct {
|
|
BasicStatus int64 `json:"basic_status"`
|
|
DetailsStatus int64 `json:"details_status"`
|
|
}
|
|
|
|
type ApiGetApproveStatusesResp struct {
|
|
base.BaseResponse
|
|
Data *ApiGetApproveStatusesData `json:"data"`
|
|
}
|