api

package
v0.0.0-...-e809d31 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrder

func CreateOrder(ctx context.Context, c *app.RequestContext)

CreateOrder . @router /api/order/ [POST]

func CreatePay

func CreatePay(ctx context.Context, c *app.RequestContext)

CreatePay . @router /api/pay/ [POST]

func DelProduct

func DelProduct(ctx context.Context, c *app.RequestContext)

DelProduct . @router /api/products/ [DELETE]

func GetOrder

func GetOrder(ctx context.Context, c *app.RequestContext)

GetOrder . @router /api/orders/ [GET]

func GetVerification

func GetVerification(ctx context.Context, c *app.RequestContext)

GetVerification . @router /api/verification/ [POST]

func Login

func Login(ctx context.Context, c *app.RequestContext)

Login . @router /api/user/login/ [GET]

func MerchantInfo

func MerchantInfo(ctx context.Context, c *app.RequestContext)

MerchantInfo . @router api/merchant/info/ [GET]

func MerchantLogin

func MerchantLogin(ctx context.Context, c *app.RequestContext)

MerchantLogin . @router /api/merchant/login/ [GET]

func MerchantRegister

func MerchantRegister(ctx context.Context, c *app.RequestContext)

MerchantRegister . @router /api/merchant/register/ [POST]

func OrderList

func OrderList(ctx context.Context, c *app.RequestContext)

OrderList . @router /api/orders/list/ [GET]

func PayDetail

func PayDetail(ctx context.Context, c *app.RequestContext)

PayDetail . @router /api/pay/ [GET]

func PayNotify

func PayNotify(ctx context.Context, c *app.RequestContext)

PayNotify . @router /api/pay/notify/ [POST]

func PayReturn

func PayReturn(ctx context.Context, c *app.RequestContext)

PayReturn . @router /api/pay/return/ [POST]

func ProductDetail

func ProductDetail(ctx context.Context, c *app.RequestContext)

ProductDetail . @router /api/products/ [GET]

func ProductFavoriteList

func ProductFavoriteList(ctx context.Context, c *app.RequestContext)

ProductFavoriteList . @router /api/products/favorite [GET]

func ProductList

func ProductList(ctx context.Context, c *app.RequestContext)

ProductList . @router /api/products/list/ [GET]

func PublishProduct

func PublishProduct(ctx context.Context, c *app.RequestContext)

PublishProduct . @router /api/product/ [POST]

func PublishedProducts

func PublishedProducts(ctx context.Context, c *app.RequestContext)

PublishedProducts . @router /api/products/published [GET]

func Register

func Register(ctx context.Context, c *app.RequestContext)

Register . @router /api/register/ [POST]

func SearchProduct

func SearchProduct(ctx context.Context, c *app.RequestContext)

SearchProduct . @router /api/products/search/ [GET]

func UpdateProduct

func UpdateProduct(ctx context.Context, c *app.RequestContext)

UpdateProduct . @router /api/product/ [PUT]

Types

This section is empty.

Jump to

Keyboard shortcuts

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