Documentation
¶
Index ¶
- type Controller
- func (ctl *Controller) CreateDB() error
- func (ctl *Controller) CreateItemTable() error
- func (ctl *Controller) CreateOrderTable() error
- func (ctl *Controller) Insert(c *server.Context) error
- func (ctl *Controller) LisitOrderByUserIDAndStatus(c *server.Context) error
- func (ctl *Controller) OrderIDByOrderCode(c *server.Context) error
- func (ctl *Controller) OrderInfoByOrderID(c *server.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) CreateDB ¶
func (ctl *Controller) CreateDB() error
func (*Controller) CreateItemTable ¶
func (ctl *Controller) CreateItemTable() error
func (*Controller) CreateOrderTable ¶
func (ctl *Controller) CreateOrderTable() error
func (*Controller) LisitOrderByUserIDAndStatus ¶
func (ctl *Controller) LisitOrderByUserIDAndStatus(c *server.Context) error
mode:
Unfinished = 0 Finished = 1 Paid = 2 Consigned = 3 Canceled = 4
func (*Controller) OrderIDByOrderCode ¶
func (ctl *Controller) OrderIDByOrderCode(c *server.Context) error
optional
func (*Controller) OrderInfoByOrderID ¶
func (ctl *Controller) OrderInfoByOrderID(c *server.Context) error
full info for One Order
Click to show internal directories.
Click to hide internal directories.