Documentation ¶
Index ¶
- func ChangeVersionStatus(c *gin.Context)
- func CheckAndUpdateVersion(c *gin.Context)
- func CreateCdkOrderHandler(c *gin.Context)
- func CreateCdkTypeHandler(c *gin.Context)
- func CreateCdksHandler(c *gin.Context)
- func CreateVersion(c *gin.Context)
- func DealCdkOrderHandler(c *gin.Context)
- func Default() *gin.Engine
- func DeleteCdkTypesHandler(c *gin.Context)
- func DeleteCdksHandler(c *gin.Context)
- func ExchangeCdksHandler(c *gin.Context)
- func GetCdkTypeByCoinNameHandler(c *gin.Context)
- func GetCdkTypesHandler(c *gin.Context)
- func GetCdksByUserIdHandler(c *gin.Context)
- func GetCdksHandler(c *gin.Context)
- func GetToken(c *gin.Context)
- func GetVersionList(c *gin.Context)
- func Init(s *service.Service) *http.Server
- func InitService(s *service.Service)
- func SetupEngine(e *gin.Engine) *gin.Engine
- func UpdateCdkTypeHandler(c *gin.Context)
- func UpdateVersion(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeVersionStatus ¶
func CheckAndUpdateVersion ¶
func CreateCdkOrderHandler ¶
CreateCdkOrderHandler @Summary 创建兑换订单 @Author chy@33.cn @Tags Cdk App @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.CreateCdkOrderReq false "body" @Success 200 {object} types.GeneralResponse{data=types.CreateCdkOrderResp} @Router /app/cdk/create-cdk-order [post]
func CreateCdkTypeHandler ¶
CreateCdkTypeHandler @Summary 创建 CdkType @Author chy@33.cn @Tags Cdk 后台 @Param data body types.CreateCdkTypeReq false "body" @Success 200 {object} types.GeneralResponse{data=types.CreateCdkTypeResp} @Router /backend/cdk/create-cdk-type [post]
func CreateCdksHandler ¶
CreateCdksHandler @Summary 创建 Cdks @Author chy@33.cn @Tags Cdk 后台 @Param data body types.CreateCdksReq false "body" @Success 200 {object} types.GeneralResponse{data=types.CreateCdksResp} @Router /backend/cdk/create-cdks [post]
func CreateVersion ¶
func DealCdkOrderHandler ¶
DealCdkOrderHandler @Summary 处理兑换订单 @Author chy@33.cn @Tags Cdk App @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.DealCdkOrderReq false "body" @Success 200 {object} types.GeneralResponse{data=types.DealCdkOrderResp} @Router /app/cdk/deal-cdk-order [post]
func Default ¶
Default returns an Engine instance with the Logger and Recovery middleware already attached.
func DeleteCdkTypesHandler ¶
DeleteCdkTypesHandler @Summary 删除 cdkTypes @Author chy@33.cn @Tags Cdk 后台 @Param data body types.DeleteCdkTypesReq false "body" @Success 200 {object} types.GeneralResponse{data=types.DeleteCdkTypesResp} @Router /backend/cdk/delete-cdk-types [post]
func DeleteCdksHandler ¶
DeleteCdksHandler @Summary 删除 cdks @Author chy@33.cn @Tags Cdk 后台 @Param data body types.DeleteCdksReq false "body" @Success 200 {object} types.GeneralResponse{data=types.DeleteCdksResp} @Router /backend/cdk/delete-cdks [post]
func ExchangeCdksHandler ¶
ExchangeCdksHandler @Summary 兑换 cdks @Author chy@33.cn @Tags Cdk 后台 @Param data body types.ExchangeCdksReq false "body" @Success 200 {object} types.GeneralResponse{data=types.ExchangeCdksResp} @Router /backend/cdk/exchange-cdks [post]
func GetCdkTypeByCoinNameHandler ¶
GetCdkTypeByCoinNameHandler @Summary 查询一个票券对应的 cdkType @Author chy@33.cn @Tags Cdk App @Param data body types.GetCdkTypeByCoinNameReq false "body" @Success 200 {object} types.GeneralResponse{data=types.GetCdkTypeByCoinNameResp} @Router /app/cdk/get-cdk-type-by-coin-name [post]
func GetCdkTypesHandler ¶
GetCdkTypesHandler @Summary 分页获得 cdkType @Author chy@33.cn @Tags Cdk 查询 @Param data body types.GetCdkTypesReq false "body" @Success 200 {object} types.GeneralResponse{data=types.GetCdkTypesResp} @Router /backend/cdk/get-cdk-types [post]
func GetCdksByUserIdHandler ¶
GetCdksByUserIdHandler @Summary 分页获得一个人拥有的 cdks @Author chy@33.cn @Tags Cdk App @Param FZM-SIGNATURE header string true "MOCK" @Param data body types.GetCdksByUserIdReq false "body" @Success 200 {object} types.GeneralResponse{data=types.GetCdksByUserIdResp} @Router /app/cdk/get-cdks-by-user-id [post]
func GetCdksHandler ¶
GetCdksHandler @Summary 分页获得 cdks @Author chy@33.cn @Tags Cdk 查询 @Param data body types.GetCdksReq false "body" @Success 200 {object} types.GeneralResponse{data=types.GetCdksResp} @Router /backend/cdk/get-cdks [post]
func GetVersionList ¶
func InitService ¶
func UpdateCdkTypeHandler ¶
UpdateCdkTypeHandler @Summary 更新 cdkType @Author chy@33.cn @Tags Cdk 后台 @Param data body types.UpdateCdkTypeReq false "body" @Success 200 {object} types.GeneralResponse{data=types.UpdateCdkTypeResp} @Router /backend/cdk/update-cdk-type [post]
func UpdateVersion ¶
Types ¶
This section is empty.