web

package
v1.13.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckStatus

func CheckStatus(ctx *gin.Context)

func CheckoutCounter

func CheckoutCounter(ctx *gin.Context)

func CreateTransaction

func CreateTransaction(ctx *gin.Context)

CreateTransaction 创建订单

func RespFailJson

func RespFailJson(err error) gin.H

func RespSuccJson

func RespSuccJson(data interface{}) gin.H

func Start

func Start()

Types

type Response

type Response struct {
	StatusCode int         `json:"status_code"`
	Message    string      `json:"message"`
	Data       interface{} `json:"data"`
	RequestID  string      `json:"request_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL