You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
1.9 KiB
93 lines
1.9 KiB
package web |
|
|
|
import "server/modules/web/values" |
|
|
|
// swagger:route POST /share/info share idOfShareInfo |
|
// 分享 |
|
// Responses: |
|
// 200:ShareInfoResp |
|
|
|
// swagger:response ShareInfoResp |
|
type ShareInfoResp struct { |
|
// in:body |
|
Body values.ShareInfoResp |
|
} |
|
|
|
// swagger:route POST /share/platform share idOfSharePlatformInfo |
|
// 分享平台总数据 |
|
// Responses: |
|
// 200:SharePlatformInfoResp |
|
|
|
// swagger:response SharePlatformInfoResp |
|
type SharePlatformInfoResp struct { |
|
// in:body |
|
Body values.SharePlatformResp |
|
} |
|
|
|
// swagger:route POST /share/withdraw share idOfShareWithdraw |
|
// 分享赠送 |
|
// Responses: |
|
// 200:ShareWithdrawResp |
|
|
|
// swagger:parameters idOfShareWithdraw |
|
type ShareWithdrawReq struct { |
|
// in:body |
|
Body values.ShareWithdrawReq |
|
} |
|
|
|
// swagger:response ShareWithdrawResp |
|
type ShareWithdrawResp struct { |
|
// in:body |
|
Body values.ShareWithdrawResp |
|
} |
|
|
|
// swagger:route POST /share/reference share idOfShareReference |
|
// 分享记录 |
|
// Responses: |
|
// 200:ShareReferenceResp |
|
|
|
// swagger:response ShareReferenceResp |
|
type ShareReferenceResp struct { |
|
// in:body |
|
Body values.ShareReferenceResp |
|
} |
|
|
|
// swagger:parameters idOfShareReference |
|
type ShareReferenceReq struct { |
|
// in:body |
|
Body values.ShareReferenceReq |
|
} |
|
|
|
// swagger:route POST /share/report share idOfShareReport |
|
// 分享报告 |
|
// Responses: |
|
// 200:ShareReportResp |
|
|
|
// swagger:response ShareReportResp |
|
type ShareReportResp struct { |
|
// in:body |
|
Body values.ShareReportResp |
|
} |
|
|
|
// swagger:parameters idOfShareReport |
|
type ShareReportReq struct { |
|
// in:body |
|
Body values.ShareReportReq |
|
} |
|
|
|
// swagger:route POST /share/transfer share idOfShareTransfer |
|
// 分享转账 |
|
// Responses: |
|
// 200:ShareTransferResp |
|
|
|
// swagger:response ShareTransferResp |
|
type ShareTransferResp struct { |
|
// in:body |
|
Body values.ShareTransferResp |
|
} |
|
|
|
// swagger:parameters idOfShareTransfer |
|
type ShareTransferReq struct { |
|
// in:body |
|
Body values.ShareTransferReq |
|
}
|
|
|