Documentation
¶
Index ¶
- type AddressCityController
- type AddressCountryController
- type AddressDistrictController
- type AddressProvinceController
- type BaseController
- type GroupController
- type IndexController
- type LoginController
- type MenuController
- type PartnerController
- type ProductAttributeController
- type ProductAttributeLineController
- type ProductAttributeValueController
- type ProductCategoryController
- type ProductProductController
- type ProductTemplateController
- type ProductUomCategController
- type ProductUomController
- type SaleOrderController
- type SaleOrderLineController
- type UserController
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
type AddressCountryController ¶
type AddressCountryController struct {
BaseController
}
AddressCountryController 城市模块
func (*AddressCountryController) Post ¶
func (ctl *AddressCountryController) Post()
Post update country
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) 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 IndexController ¶
type IndexController struct {
BaseController
}
func (*IndexController) Get ¶
func (c *IndexController) Get()
type PartnerController ¶
type PartnerController struct {
BaseController
}
PartnerController 城市模块
func (*PartnerController) Delete ¶
func (ctl *PartnerController) Delete()
Delete delete partner attribute value
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 ¶
func (ctl *ProductAttributeValueController) Get()
Get get attributeValues
func (*ProductAttributeValueController) Post ¶
func (ctl *ProductAttributeValueController) Post()
Post create product attribute value
func (*ProductAttributeValueController) Put ¶
func (ctl *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) 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 城市模块
type SaleOrderController ¶
type SaleOrderController struct {
BaseController
}
SaleOrderController 销售订单模块
func (*SaleOrderController) Delete ¶
func (ctl *SaleOrderController) Delete()
Delete delete order attribute value
type SaleOrderLineController ¶
type SaleOrderLineController struct {
BaseController
}
SaleOrderLineController 城市模块
func (*SaleOrderLineController) Delete ¶
func (ctl *SaleOrderLineController) Delete()
Delete delete orderline attribute value
func (*SaleOrderLineController) Put ¶
func (ctl *SaleOrderLineController) Put()
Put update orderline
Source Files
¶
- address_city.go
- address_country.go
- address_district.go
- address_province.go
- base.go
- base_group.go
- base_index.go
- base_login.go
- base_menu.go
- base_partner.go
- base_user.go
- product_attribute.go
- product_attribute_line.go
- product_attribute_value.go
- product_category.go
- product_product.go
- product_template.go
- product_uom.go
- product_uom_categ.go
- sale_order.go
- sale_order_line.go