Documentation
¶
Index ¶
- func CreateOrder(ctx context.Context, c *app.RequestContext)
- func CreatePay(ctx context.Context, c *app.RequestContext)
- func DelProduct(ctx context.Context, c *app.RequestContext)
- func GetOrder(ctx context.Context, c *app.RequestContext)
- func GetVerification(ctx context.Context, c *app.RequestContext)
- func Login(ctx context.Context, c *app.RequestContext)
- func MerchantInfo(ctx context.Context, c *app.RequestContext)
- func MerchantLogin(ctx context.Context, c *app.RequestContext)
- func MerchantRegister(ctx context.Context, c *app.RequestContext)
- func OrderList(ctx context.Context, c *app.RequestContext)
- func PayDetail(ctx context.Context, c *app.RequestContext)
- func PayNotify(ctx context.Context, c *app.RequestContext)
- func PayReturn(ctx context.Context, c *app.RequestContext)
- func ProductDetail(ctx context.Context, c *app.RequestContext)
- func ProductFavoriteList(ctx context.Context, c *app.RequestContext)
- func ProductList(ctx context.Context, c *app.RequestContext)
- func PublishProduct(ctx context.Context, c *app.RequestContext)
- func PublishedProducts(ctx context.Context, c *app.RequestContext)
- func Register(ctx context.Context, c *app.RequestContext)
- func SearchProduct(ctx context.Context, c *app.RequestContext)
- func UpdateProduct(ctx context.Context, c *app.RequestContext)
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.