controllers

package
v0.0.0-...-eeebf8c Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressCityController

type AddressCityController struct {
	BaseController
}

AddressCityController 城市模块

func (*AddressCityController) Delete

func (ctl *AddressCityController) Delete()

Delete delete city attribute value

func (*AddressCityController) Get

func (ctl *AddressCityController) Get()

Get get cities

func (*AddressCityController) Post

func (ctl *AddressCityController) Post()

Post create

func (*AddressCityController) Put

func (ctl *AddressCityController) Put()

Put update city

type AddressCountryController

type AddressCountryController struct {
	BaseController
}

AddressCountryController 城市模块

func (*AddressCountryController) Get

func (ctl *AddressCountryController) Get()

Get get countries

func (*AddressCountryController) Post

func (ctl *AddressCountryController) Post()

Post update country

func (*AddressCountryController) Put

func (ctl *AddressCountryController) Put()

Put

type AddressDistrictController

type AddressDistrictController struct {
	BaseController
}

AddressDistrictController 城市模块

func (*AddressDistrictController) Get

func (ctl *AddressDistrictController) Get()

Get get districts

func (*AddressDistrictController) Put

func (ctl *AddressDistrictController) Put()

Put update district

type AddressProvinceController

type AddressProvinceController struct {
	BaseController
}

AddressProvinceController 城市模块

func (*AddressProvinceController) Get

func (ctl *AddressProvinceController) Get()

Get get provinces

func (*AddressProvinceController) Post

func (ctl *AddressProvinceController) Post()

Post

func (*AddressProvinceController) Put

func (ctl *AddressProvinceController) Put()

Put update province

type BaseController

type BaseController struct {
	beego.Controller
	IsAdmin   bool
	UserName  string
	URL       string
	LastLogin time.Time
	User      md.User
}

BaseController 基础controller

func (*BaseController) Prepare

func (ctl *BaseController) Prepare()

Prepare implemented Prepare method for baseRouter.

type GroupController

type GroupController struct {
	BaseController
}

GroupController 城市模块

func (*GroupController) Get

func (ctl *GroupController) Get()

Get get groups

type IndexController

type IndexController struct {
	BaseController
}

func (*IndexController) Get

func (c *IndexController) Get()

type LoginController

type LoginController struct {
	BaseController
}

LoginController 登录模块

func (*LoginController) Get

func (ctl *LoginController) Get()

Get 注销登录请求

func (*LoginController) Post

func (ctl *LoginController) Post()

Post 登录请求

type MenuController struct {
	BaseController
}

MenuController 菜单模块

func (ctl *MenuController) Post()

Post get menus by permissions

type PartnerController

type PartnerController struct {
	BaseController
}

PartnerController 城市模块

func (*PartnerController) Delete

func (ctl *PartnerController) Delete()

Delete delete partner attribute value

func (*PartnerController) Get

func (ctl *PartnerController) Get()

Get get cities

func (*PartnerController) Post

func (ctl *PartnerController) Post()

Post create

func (*PartnerController) Put

func (ctl *PartnerController) Put()

Put update partner

type ProductAttributeController

type ProductAttributeController struct {
	BaseController
}

ProductAttributeController 城市模块

func (*ProductAttributeController) Get

func (ctl *ProductAttributeController) Get()

Get get attributes

func (*ProductAttributeController) Post

func (ctl *ProductAttributeController) Post()

Post create product attribute

func (*ProductAttributeController) Put

func (ctl *ProductAttributeController) Put()

Put update product attribute

type ProductAttributeLineController

type ProductAttributeLineController struct {
	BaseController
}

ProductAttributeLineController 城市模块

func (*ProductAttributeLineController) Get

func (ctl *ProductAttributeLineController) Get()

Get get attributes

func (*ProductAttributeLineController) Post

func (ctl *ProductAttributeLineController) Post()

Post create product attribute line

func (*ProductAttributeLineController) Put

func (ctl *ProductAttributeLineController) Put()

Put update product attribute line

type ProductAttributeValueController

type ProductAttributeValueController struct {
	BaseController
}

ProductAttributeValueController 城市模块

func (*ProductAttributeValueController) Delete

func (ctl *ProductAttributeValueController) Delete()

Delete delete product attribute value

func (*ProductAttributeValueController) Get

Get get attributeValues

func (*ProductAttributeValueController) Post

func (ctl *ProductAttributeValueController) Post()

Post create product attribute value

func (*ProductAttributeValueController) Put

Put update product attribute value

type ProductCategoryController

type ProductCategoryController struct {
	BaseController
}

ProductCategoryController 产品分类模块

func (*ProductCategoryController) Get

func (ctl *ProductCategoryController) Get()

Get get categories

func (*ProductCategoryController) Post

func (ctl *ProductCategoryController) Post()

Post create product category

func (*ProductCategoryController) Put

func (ctl *ProductCategoryController) Put()

Put update product category

type ProductProductController

type ProductProductController struct {
	BaseController
}

ProductProductController 城市模块

func (*ProductProductController) Get

func (ctl *ProductProductController) Get()

Get get products

func (*ProductProductController) Post

func (ctl *ProductProductController) Post()

Post create product attribute

func (*ProductProductController) Put

func (ctl *ProductProductController) Put()

Put update product attribute

type ProductTemplateController

type ProductTemplateController struct {
	BaseController
}

ProductTemplateController 产品款式模块

func (*ProductTemplateController) Get

func (ctl *ProductTemplateController) Get()

Get get templates

func (*ProductTemplateController) Post

func (ctl *ProductTemplateController) Post()

Post create product template

func (*ProductTemplateController) Put

func (ctl *ProductTemplateController) Put()

Put update product template

type ProductUomCategController

type ProductUomCategController struct {
	BaseController
}

ProductUomCategController 城市模块

func (*ProductUomCategController) Get

func (ctl *ProductUomCategController) Get()

Get get uomcategs

func (*ProductUomCategController) Post

func (ctl *ProductUomCategController) Post()

Post create product uomcateg

func (*ProductUomCategController) Put

func (ctl *ProductUomCategController) Put()

Put update product uomcateg

type ProductUomController

type ProductUomController struct {
	BaseController
}

ProductUomController 城市模块

func (*ProductUomController) Get

func (ctl *ProductUomController) Get()

Get get uoms

func (*ProductUomController) Post

func (ctl *ProductUomController) Post()

Post create product uom

func (*ProductUomController) Put

func (ctl *ProductUomController) Put()

Put update product uom

type SaleOrderController

type SaleOrderController struct {
	BaseController
}

SaleOrderController 销售订单模块

func (*SaleOrderController) Delete

func (ctl *SaleOrderController) Delete()

Delete delete order attribute value

func (*SaleOrderController) Get

func (ctl *SaleOrderController) Get()

Get get cities

func (*SaleOrderController) Post

func (ctl *SaleOrderController) Post()

Post create

func (*SaleOrderController) Put

func (ctl *SaleOrderController) Put()

Put update order

type SaleOrderLineController

type SaleOrderLineController struct {
	BaseController
}

SaleOrderLineController 城市模块

func (*SaleOrderLineController) Delete

func (ctl *SaleOrderLineController) Delete()

Delete delete orderline attribute value

func (*SaleOrderLineController) Get

func (ctl *SaleOrderLineController) Get()

Get get cities

func (*SaleOrderLineController) Post

func (ctl *SaleOrderLineController) Post()

Post create

func (*SaleOrderLineController) Put

func (ctl *SaleOrderLineController) Put()

Put update orderline

type UserController

type UserController struct {
	BaseController
}

UserController 城市模块

func (*UserController) Get

func (ctl *UserController) Get()

Get get users

Jump to

Keyboard shortcuts

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