controllers

package
v0.0.0-...-095fe54 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: GPL-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 CRMContactController

type CRMContactController struct {
	beego.Controller
}

oprations for CRMContact

func (*CRMContactController) Delete

func (c *CRMContactController) Delete()

@Title Delete @Description delete the CRMContact @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMContactController) GetAll

func (c *CRMContactController) GetAll()

@Title Get All @Description get CRMContact @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMContact @Failure 403 @router / [get]

func (*CRMContactController) GetOne

func (c *CRMContactController) GetOne()

@Title Get @Description get CRMContact by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMContact @Failure 403 :id is empty @router /:id [get]

func (*CRMContactController) Post

func (c *CRMContactController) Post()

@Title Post @Description create CRMContact @Param body body models.CRMContact true "body for CRMContact content" @Success 200 {int} models.CRMContact.Id @Failure 403 body is empty @router / [post]

func (*CRMContactController) Put

func (c *CRMContactController) Put()

@Title Update @Description update the CRMContact @Param id path string true "The id you want to update" @Param body body models.CRMContact true "body for CRMContact content" @Success 200 {object} models.CRMContact @Failure 403 :id is not int @router /:id [put]

func (*CRMContactController) ShowAddPage

func (c *CRMContactController) ShowAddPage()

func (*CRMContactController) URLMapping

func (c *CRMContactController) URLMapping()

type CRMContractController

type CRMContractController struct {
	beego.Controller
}

oprations for CRMContract

func (*CRMContractController) Delete

func (c *CRMContractController) Delete()

@Title Delete @Description delete the CRMContract @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMContractController) GetAll

func (c *CRMContractController) GetAll()

@Title Get All @Description get CRMContract @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMContract @Failure 403 @router / [get]

func (*CRMContractController) GetOne

func (c *CRMContractController) GetOne()

@Title Get @Description get CRMContract by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMContract @Failure 403 :id is empty @router /:id [get]

func (*CRMContractController) Post

func (c *CRMContractController) Post()

@Title Post @Description create CRMContract @Param body body models.CRMContract true "body for CRMContract content" @Success 200 {int} models.CRMContract.Id @Failure 403 body is empty @router / [post]

func (*CRMContractController) Put

func (c *CRMContractController) Put()

@Title Update @Description update the CRMContract @Param id path string true "The id you want to update" @Param body body models.CRMContract true "body for CRMContract content" @Success 200 {object} models.CRMContract @Failure 403 :id is not int @router /:id [put]

func (*CRMContractController) URLMapping

func (c *CRMContractController) URLMapping()

type CRMCustomerController

type CRMCustomerController struct {
	beego.Controller
}

oprations for CRMCustomer

func (*CRMCustomerController) Delete

func (c *CRMCustomerController) Delete()

@Title Delete @Description delete the CRMCustomer @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMCustomerController) GetAll

func (c *CRMCustomerController) GetAll()

@Title Get All @Description get CRMCustomer @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMCustomer @Failure 403 @router / [get]

func (*CRMCustomerController) GetOne

func (c *CRMCustomerController) GetOne()

@Title Get @Description get CRMCustomer by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMCustomer @Failure 403 :id is empty @router /:id [get]

func (*CRMCustomerController) Post

func (c *CRMCustomerController) Post()

@Title Post @Description create CRMCustomer @Param body body models.CRMCustomer true "body for CRMCustomer content" @Success 200 {int} models.CRMCustomer.Id @Failure 403 body is empty @router / [post]

func (*CRMCustomerController) Put

func (c *CRMCustomerController) Put()

@Title Update @Description update the CRMCustomer @Param id path string true "The id you want to update" @Param body body models.CRMCustomer true "body for CRMCustomer content" @Success 200 {object} models.CRMCustomer @Failure 403 :id is not int @router /:id [put]

func (*CRMCustomerController) URLMapping

func (c *CRMCustomerController) URLMapping()

type CRMFollowController

type CRMFollowController struct {
	beego.Controller
}

oprations for CRMFollow

func (*CRMFollowController) Delete

func (c *CRMFollowController) Delete()

@Title Delete @Description delete the CRMFollow @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMFollowController) GetAll

func (c *CRMFollowController) GetAll()

@Title Get All @Description get CRMFollow @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMFollow @Failure 403 @router / [get]

func (*CRMFollowController) GetOne

func (c *CRMFollowController) GetOne()

@Title Get @Description get CRMFollow by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMFollow @Failure 403 :id is empty @router /:id [get]

func (*CRMFollowController) Post

func (c *CRMFollowController) Post()

@Title Post @Description create CRMFollow @Param body body models.CRMFollow true "body for CRMFollow content" @Success 200 {int} models.CRMFollow.Id @Failure 403 body is empty @router / [post]

func (*CRMFollowController) Put

func (c *CRMFollowController) Put()

@Title Update @Description update the CRMFollow @Param id path string true "The id you want to update" @Param body body models.CRMFollow true "body for CRMFollow content" @Success 200 {object} models.CRMFollow @Failure 403 :id is not int @router /:id [put]

func (*CRMFollowController) URLMapping

func (c *CRMFollowController) URLMapping()

type CRMInvoiceController

type CRMInvoiceController struct {
	beego.Controller
}

oprations for CRMInvoice

func (*CRMInvoiceController) Delete

func (c *CRMInvoiceController) Delete()

@Title Delete @Description delete the CRMInvoice @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMInvoiceController) GetAll

func (c *CRMInvoiceController) GetAll()

@Title Get All @Description get CRMInvoice @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMInvoice @Failure 403 @router / [get]

func (*CRMInvoiceController) GetOne

func (c *CRMInvoiceController) GetOne()

@Title Get @Description get CRMInvoice by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMInvoice @Failure 403 :id is empty @router /:id [get]

func (*CRMInvoiceController) Post

func (c *CRMInvoiceController) Post()

@Title Post @Description create CRMInvoice @Param body body models.CRMInvoice true "body for CRMInvoice content" @Success 200 {int} models.CRMInvoice.Id @Failure 403 body is empty @router / [post]

func (*CRMInvoiceController) Put

func (c *CRMInvoiceController) Put()

@Title Update @Description update the CRMInvoice @Param id path string true "The id you want to update" @Param body body models.CRMInvoice true "body for CRMInvoice content" @Success 200 {object} models.CRMInvoice @Failure 403 :id is not int @router /:id [put]

func (*CRMInvoiceController) URLMapping

func (c *CRMInvoiceController) URLMapping()

type CRMOrderController

type CRMOrderController struct {
	beego.Controller
}

oprations for CRMOrder

func (*CRMOrderController) Delete

func (c *CRMOrderController) Delete()

@Title Delete @Description delete the CRMOrder @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMOrderController) GetAll

func (c *CRMOrderController) GetAll()

@Title Get All @Description get CRMOrder @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMOrder @Failure 403 @router / [get]

func (*CRMOrderController) GetOne

func (c *CRMOrderController) GetOne()

@Title Get @Description get CRMOrder by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMOrder @Failure 403 :id is empty @router /:id [get]

func (*CRMOrderController) Post

func (c *CRMOrderController) Post()

@Title Post @Description create CRMOrder @Param body body models.CRMOrder true "body for CRMOrder content" @Success 200 {int} models.CRMOrder.Id @Failure 403 body is empty @router / [post]

func (*CRMOrderController) Put

func (c *CRMOrderController) Put()

@Title Update @Description update the CRMOrder @Param id path string true "The id you want to update" @Param body body models.CRMOrder true "body for CRMOrder content" @Success 200 {object} models.CRMOrder @Failure 403 :id is not int @router /:id [put]

func (*CRMOrderController) URLMapping

func (c *CRMOrderController) URLMapping()

type CRMProductCategoryController

type CRMProductCategoryController struct {
	beego.Controller
}

oprations for CRMProductCategory

func (*CRMProductCategoryController) Delete

func (c *CRMProductCategoryController) Delete()

@Title Delete @Description delete the CRMProductCategory @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMProductCategoryController) GetAll

func (c *CRMProductCategoryController) GetAll()

@Title Get All @Description get CRMProductCategory @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMProductCategory @Failure 403 @router / [get]

func (*CRMProductCategoryController) GetOne

func (c *CRMProductCategoryController) GetOne()

@Title Get @Description get CRMProductCategory by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMProductCategory @Failure 403 :id is empty @router /:id [get]

func (*CRMProductCategoryController) Post

func (c *CRMProductCategoryController) Post()

@Title Post @Description create CRMProductCategory @Param body body models.CRMProductCategory true "body for CRMProductCategory content" @Success 200 {int} models.CRMProductCategory.Id @Failure 403 body is empty @router / [post]

func (*CRMProductCategoryController) Put

@Title Update @Description update the CRMProductCategory @Param id path string true "The id you want to update" @Param body body models.CRMProductCategory true "body for CRMProductCategory content" @Success 200 {object} models.CRMProductCategory @Failure 403 :id is not int @router /:id [put]

func (*CRMProductCategoryController) URLMapping

func (c *CRMProductCategoryController) URLMapping()

type CRMProductController

type CRMProductController struct {
	beego.Controller
}

oprations for CRMProduct

func (*CRMProductController) Delete

func (c *CRMProductController) Delete()

@Title Delete @Description delete the CRMProduct @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMProductController) GetAll

func (c *CRMProductController) GetAll()

@Title Get All @Description get CRMProduct @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMProduct @Failure 403 @router / [get]

func (*CRMProductController) GetOne

func (c *CRMProductController) GetOne()

@Title Get @Description get CRMProduct by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMProduct @Failure 403 :id is empty @router /:id [get]

func (*CRMProductController) Post

func (c *CRMProductController) Post()

@Title Post @Description create CRMProduct @Param body body models.CRMProduct true "body for CRMProduct content" @Success 200 {int} models.CRMProduct.Id @Failure 403 body is empty @router / [post]

func (*CRMProductController) Put

func (c *CRMProductController) Put()

@Title Update @Description update the CRMProduct @Param id path string true "The id you want to update" @Param body body models.CRMProduct true "body for CRMProduct content" @Success 200 {object} models.CRMProduct @Failure 403 :id is not int @router /:id [put]

func (*CRMProductController) URLMapping

func (c *CRMProductController) URLMapping()

type CRMReceiveController

type CRMReceiveController struct {
	beego.Controller
}

oprations for CRMReceive

func (*CRMReceiveController) Delete

func (c *CRMReceiveController) Delete()

@Title Delete @Description delete the CRMReceive @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*CRMReceiveController) GetAll

func (c *CRMReceiveController) GetAll()

@Title Get All @Description get CRMReceive @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.CRMReceive @Failure 403 @router / [get]

func (*CRMReceiveController) GetOne

func (c *CRMReceiveController) GetOne()

@Title Get @Description get CRMReceive by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CRMReceive @Failure 403 :id is empty @router /:id [get]

func (*CRMReceiveController) Post

func (c *CRMReceiveController) Post()

@Title Post @Description create CRMReceive @Param body body models.CRMReceive true "body for CRMReceive content" @Success 200 {int} models.CRMReceive.Id @Failure 403 body is empty @router / [post]

func (*CRMReceiveController) Put

func (c *CRMReceiveController) Put()

@Title Update @Description update the CRMReceive @Param id path string true "The id you want to update" @Param body body models.CRMReceive true "body for CRMReceive content" @Success 200 {object} models.CRMReceive @Failure 403 :id is not int @router /:id [put]

func (*CRMReceiveController) URLMapping

func (c *CRMReceiveController) URLMapping()

type HrDepartmentController

type HrDepartmentController struct {
	beego.Controller
}

oprations for HrDepartment

func (*HrDepartmentController) Delete

func (c *HrDepartmentController) Delete()

@Title Delete @Description delete the HrDepartment @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*HrDepartmentController) GetAll

func (c *HrDepartmentController) GetAll()

@Title Get All @Description get HrDepartment @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.HrDepartment @Failure 403 @router / [get]

func (*HrDepartmentController) GetOne

func (c *HrDepartmentController) GetOne()

@Title Get @Description get HrDepartment by id @Param id path string true "The key for staticblock" @Success 200 {object} models.HrDepartment @Failure 403 :id is empty @router /:id [get]

func (*HrDepartmentController) Post

func (c *HrDepartmentController) Post()

@Title Post @Description create HrDepartment @Param body body models.HrDepartment true "body for HrDepartment content" @Success 200 {int} models.HrDepartment.Id @Failure 403 body is empty @router / [post]

func (*HrDepartmentController) Put

func (c *HrDepartmentController) Put()

@Title Update @Description update the HrDepartment @Param id path string true "The id you want to update" @Param body body models.HrDepartment true "body for HrDepartment content" @Success 200 {object} models.HrDepartment @Failure 403 :id is not int @router /:id [put]

func (*HrDepartmentController) URLMapping

func (c *HrDepartmentController) URLMapping()

type HrEmployeeController

type HrEmployeeController struct {
	beego.Controller
}

oprations for HrEmployee

func (*HrEmployeeController) Delete

func (c *HrEmployeeController) Delete()

@Title Delete @Description delete the HrEmployee @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*HrEmployeeController) GetAll

func (c *HrEmployeeController) GetAll()

@Title Get All @Description get HrEmployee @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.HrEmployee @Failure 403 @router / [get]

func (*HrEmployeeController) GetOne

func (c *HrEmployeeController) GetOne()

@Title Get @Description get HrEmployee by id @Param id path string true "The key for staticblock" @Success 200 {object} models.HrEmployee @Failure 403 :id is empty @router /:id [get]

func (*HrEmployeeController) Post

func (c *HrEmployeeController) Post()

@Title Post @Description create HrEmployee @Param body body models.HrEmployee true "body for HrEmployee content" @Success 200 {int} models.HrEmployee.Id @Failure 403 body is empty @router / [post]

func (*HrEmployeeController) Put

func (c *HrEmployeeController) Put()

@Title Update @Description update the HrEmployee @Param id path string true "The id you want to update" @Param body body models.HrEmployee true "body for HrEmployee content" @Success 200 {object} models.HrEmployee @Failure 403 :id is not int @router /:id [put]

func (*HrEmployeeController) URLMapping

func (c *HrEmployeeController) URLMapping()

type HrPositionController

type HrPositionController struct {
	beego.Controller
}

oprations for HrPosition

func (*HrPositionController) Delete

func (c *HrPositionController) Delete()

@Title Delete @Description delete the HrPosition @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*HrPositionController) GetAll

func (c *HrPositionController) GetAll()

@Title Get All @Description get HrPosition @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.HrPosition @Failure 403 @router / [get]

func (*HrPositionController) GetOne

func (c *HrPositionController) GetOne()

@Title Get @Description get HrPosition by id @Param id path string true "The key for staticblock" @Success 200 {object} models.HrPosition @Failure 403 :id is empty @router /:id [get]

func (*HrPositionController) Post

func (c *HrPositionController) Post()

@Title Post @Description create HrPosition @Param body body models.HrPosition true "body for HrPosition content" @Success 200 {int} models.HrPosition.Id @Failure 403 body is empty @router / [post]

func (*HrPositionController) Put

func (c *HrPositionController) Put()

@Title Update @Description update the HrPosition @Param id path string true "The id you want to update" @Param body body models.HrPosition true "body for HrPosition content" @Success 200 {object} models.HrPosition @Failure 403 :id is not int @router /:id [put]

func (*HrPositionController) URLMapping

func (c *HrPositionController) URLMapping()

type HrPostController

type HrPostController struct {
	beego.Controller
}

oprations for HrPost

func (*HrPostController) Delete

func (c *HrPostController) Delete()

@Title Delete @Description delete the HrPost @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*HrPostController) GetAll

func (c *HrPostController) GetAll()

@Title Get All @Description get HrPost @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.HrPost @Failure 403 @router / [get]

func (*HrPostController) GetOne

func (c *HrPostController) GetOne()

@Title Get @Description get HrPost by id @Param id path string true "The key for staticblock" @Success 200 {object} models.HrPost @Failure 403 :id is empty @router /:id [get]

func (*HrPostController) Post

func (c *HrPostController) Post()

@Title Post @Description create HrPost @Param body body models.HrPost true "body for HrPost content" @Success 200 {int} models.HrPost.Id @Failure 403 body is empty @router / [post]

func (*HrPostController) Put

func (c *HrPostController) Put()

@Title Update @Description update the HrPost @Param id path string true "The id you want to update" @Param body body models.HrPost true "body for HrPost content" @Success 200 {object} models.HrPost @Failure 403 :id is not int @router /:id [put]

func (*HrPostController) URLMapping

func (c *HrPostController) URLMapping()

type MainController

type MainController struct {
	beego.Controller
}

func (*MainController) Get

func (c *MainController) Get()

func (*MainController) Test

func (c *MainController) Test()

type ParamSysParamController

type ParamSysParamController struct {
	beego.Controller
}

oprations for ParamSysParam

func (*ParamSysParamController) Delete

func (c *ParamSysParamController) Delete()

@Title Delete @Description delete the ParamSysParam @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*ParamSysParamController) GetAll

func (c *ParamSysParamController) GetAll()

@Title Get All @Description get ParamSysParam @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.ParamSysParam @Failure 403 @router / [get]

func (*ParamSysParamController) GetOne

func (c *ParamSysParamController) GetOne()

@Title Get @Description get ParamSysParam by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ParamSysParam @Failure 403 :id is empty @router /:id [get]

func (*ParamSysParamController) Post

func (c *ParamSysParamController) Post()

@Title Post @Description create ParamSysParam @Param body body models.ParamSysParam true "body for ParamSysParam content" @Success 200 {int} models.ParamSysParam.Id @Failure 403 body is empty @router / [post]

func (*ParamSysParamController) Put

func (c *ParamSysParamController) Put()

@Title Update @Description update the ParamSysParam @Param id path string true "The id you want to update" @Param body body models.ParamSysParam true "body for ParamSysParam content" @Success 200 {object} models.ParamSysParam @Failure 403 :id is not int @router /:id [put]

func (*ParamSysParamController) URLMapping

func (c *ParamSysParamController) URLMapping()

type PersonalCalendarController

type PersonalCalendarController struct {
	beego.Controller
}

oprations for PersonalCalendar

func (*PersonalCalendarController) Delete

func (c *PersonalCalendarController) Delete()

@Title Delete @Description delete the PersonalCalendar @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*PersonalCalendarController) GetAll

func (c *PersonalCalendarController) GetAll()

@Title Get All @Description get PersonalCalendar @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.PersonalCalendar @Failure 403 @router / [get]

func (*PersonalCalendarController) GetOne

func (c *PersonalCalendarController) GetOne()

@Title Get @Description get PersonalCalendar by id @Param id path string true "The key for staticblock" @Success 200 {object} models.PersonalCalendar @Failure 403 :id is empty @router /:id [get]

func (*PersonalCalendarController) Post

func (c *PersonalCalendarController) Post()

@Title Post @Description create PersonalCalendar @Param body body models.PersonalCalendar true "body for PersonalCalendar content" @Success 200 {int} models.PersonalCalendar.Id @Failure 403 body is empty @router / [post]

func (*PersonalCalendarController) Put

func (c *PersonalCalendarController) Put()

@Title Update @Description update the PersonalCalendar @Param id path string true "The id you want to update" @Param body body models.PersonalCalendar true "body for PersonalCalendar content" @Success 200 {object} models.PersonalCalendar @Failure 403 :id is not int @router /:id [put]

func (*PersonalCalendarController) URLMapping

func (c *PersonalCalendarController) URLMapping()

type PersonalNotesController

type PersonalNotesController struct {
	beego.Controller
}

oprations for PersonalNotes

func (*PersonalNotesController) Delete

func (c *PersonalNotesController) Delete()

@Title Delete @Description delete the PersonalNotes @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*PersonalNotesController) GetAll

func (c *PersonalNotesController) GetAll()

@Title Get All @Description get PersonalNotes @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.PersonalNotes @Failure 403 @router / [get]

func (*PersonalNotesController) GetOne

func (c *PersonalNotesController) GetOne()

@Title Get @Description get PersonalNotes by id @Param id path string true "The key for staticblock" @Success 200 {object} models.PersonalNotes @Failure 403 :id is empty @router /:id [get]

func (*PersonalNotesController) Post

func (c *PersonalNotesController) Post()

@Title Post @Description create PersonalNotes @Param body body models.PersonalNotes true "body for PersonalNotes content" @Success 200 {int} models.PersonalNotes.Id @Failure 403 body is empty @router / [post]

func (*PersonalNotesController) Put

func (c *PersonalNotesController) Put()

@Title Update @Description update the PersonalNotes @Param id path string true "The id you want to update" @Param body body models.PersonalNotes true "body for PersonalNotes content" @Success 200 {object} models.PersonalNotes @Failure 403 :id is not int @router /:id [put]

func (*PersonalNotesController) URLMapping

func (c *PersonalNotesController) URLMapping()

type PublicNewsController

type PublicNewsController struct {
	beego.Controller
}

oprations for PublicNews

func (*PublicNewsController) Delete

func (c *PublicNewsController) Delete()

@Title Delete @Description delete the PublicNews @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*PublicNewsController) GetAll

func (c *PublicNewsController) GetAll()

@Title Get All @Description get PublicNews @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.PublicNews @Failure 403 @router / [get]

func (*PublicNewsController) GetOne

func (c *PublicNewsController) GetOne()

@Title Get @Description get PublicNews by id @Param id path string true "The key for staticblock" @Success 200 {object} models.PublicNews @Failure 403 :id is empty @router /:id [get]

func (*PublicNewsController) Post

func (c *PublicNewsController) Post()

@Title Post @Description create PublicNews @Param body body models.PublicNews true "body for PublicNews content" @Success 200 {int} models.PublicNews.Id @Failure 403 body is empty @router / [post]

func (*PublicNewsController) Put

func (c *PublicNewsController) Put()

@Title Update @Description update the PublicNews @Param id path string true "The id you want to update" @Param body body models.PublicNews true "body for PublicNews content" @Success 200 {object} models.PublicNews @Failure 403 :id is not int @router /:id [put]

func (*PublicNewsController) URLMapping

func (c *PublicNewsController) URLMapping()

type PublicNoticeController

type PublicNoticeController struct {
	beego.Controller
}

oprations for PublicNotice

func (*PublicNoticeController) Delete

func (c *PublicNoticeController) Delete()

@Title Delete @Description delete the PublicNotice @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*PublicNoticeController) GetAll

func (c *PublicNoticeController) GetAll()

@Title Get All @Description get PublicNotice @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.PublicNotice @Failure 403 @router / [get]

func (*PublicNoticeController) GetOne

func (c *PublicNoticeController) GetOne()

@Title Get @Description get PublicNotice by id @Param id path string true "The key for staticblock" @Success 200 {object} models.PublicNotice @Failure 403 :id is empty @router /:id [get]

func (*PublicNoticeController) Post

func (c *PublicNoticeController) Post()

@Title Post @Description create PublicNotice @Param body body models.PublicNotice true "body for PublicNotice content" @Success 200 {int} models.PublicNotice.Id @Failure 403 body is empty @router / [post]

func (*PublicNoticeController) Put

func (c *PublicNoticeController) Put()

@Title Update @Description update the PublicNotice @Param id path string true "The id you want to update" @Param body body models.PublicNotice true "body for PublicNotice content" @Success 200 {object} models.PublicNotice @Failure 403 :id is not int @router /:id [put]

func (*PublicNoticeController) URLMapping

func (c *PublicNoticeController) URLMapping()

type SysAppController

type SysAppController struct {
	beego.Controller
}

oprations for SysApp

func (*SysAppController) Delete

func (c *SysAppController) Delete()

@Title Delete @Description delete the SysApp @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*SysAppController) GetAll

func (c *SysAppController) GetAll()

@Title Get All @Description get SysApp @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.SysApp @Failure 403 @router / [get]

func (*SysAppController) GetOne

func (c *SysAppController) GetOne()

@Title Get @Description get SysApp by id @Param id path string true "The key for staticblock" @Success 200 {object} models.SysApp @Failure 403 :id is empty @router /:id [get]

func (*SysAppController) Post

func (c *SysAppController) Post()

@Title Post @Description create SysApp @Param body body models.SysApp true "body for SysApp content" @Success 200 {int} models.SysApp.Id @Failure 403 body is empty @router / [post]

func (*SysAppController) Put

func (c *SysAppController) Put()

@Title Update @Description update the SysApp @Param id path string true "The id you want to update" @Param body body models.SysApp true "body for SysApp content" @Success 200 {object} models.SysApp @Failure 403 :id is not int @router /:id [put]

func (*SysAppController) URLMapping

func (c *SysAppController) URLMapping()

type SysButtonController

type SysButtonController struct {
	beego.Controller
}

oprations for SysButton

func (*SysButtonController) Delete

func (c *SysButtonController) Delete()

@Title Delete @Description delete the SysButton @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*SysButtonController) GetAll

func (c *SysButtonController) GetAll()

@Title Get All @Description get SysButton @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.SysButton @Failure 403 @router / [get]

func (*SysButtonController) GetOne

func (c *SysButtonController) GetOne()

@Title Get @Description get SysButton by id @Param id path string true "The key for staticblock" @Success 200 {object} models.SysButton @Failure 403 :id is empty @router /:id [get]

func (*SysButtonController) Post

func (c *SysButtonController) Post()

@Title Post @Description create SysButton @Param body body models.SysButton true "body for SysButton content" @Success 200 {int} models.SysButton.Id @Failure 403 body is empty @router / [post]

func (*SysButtonController) Put

func (c *SysButtonController) Put()

@Title Update @Description update the SysButton @Param id path string true "The id you want to update" @Param body body models.SysButton true "body for SysButton content" @Success 200 {object} models.SysButton @Failure 403 :id is not int @router /:id [put]

func (*SysButtonController) URLMapping

func (c *SysButtonController) URLMapping()

type SysInfoController

type SysInfoController struct {
	beego.Controller
}

oprations for SysInfo

func (*SysInfoController) Delete

func (c *SysInfoController) Delete()

@Title Delete @Description delete the SysInfo @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*SysInfoController) GetAll

func (c *SysInfoController) GetAll()

@Title Get All @Description get SysInfo @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.SysInfo @Failure 403 @router / [get]

func (*SysInfoController) GetOne

func (c *SysInfoController) GetOne()

@Title Get @Description get SysInfo by id @Param id path string true "The key for staticblock" @Success 200 {object} models.SysInfo @Failure 403 :id is empty @router /:id [get]

func (*SysInfoController) Post

func (c *SysInfoController) Post()

@Title Post @Description create SysInfo @Param body body models.SysInfo true "body for SysInfo content" @Success 200 {int} models.SysInfo.Id @Failure 403 body is empty @router / [post]

func (*SysInfoController) Put

func (c *SysInfoController) Put()

@Title Update @Description update the SysInfo @Param id path string true "The id you want to update" @Param body body models.SysInfo true "body for SysInfo content" @Success 200 {object} models.SysInfo @Failure 403 :id is not int @router /:id [put]

func (*SysInfoController) URLMapping

func (c *SysInfoController) URLMapping()

type SysLogController

type SysLogController struct {
	beego.Controller
}

oprations for SysLog

func (*SysLogController) Delete

func (c *SysLogController) Delete()

@Title Delete @Description delete the SysLog @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*SysLogController) GetAll

func (c *SysLogController) GetAll()

@Title Get All @Description get SysLog @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.SysLog @Failure 403 @router / [get]

func (*SysLogController) GetOne

func (c *SysLogController) GetOne()

@Title Get @Description get SysLog by id @Param id path string true "The key for staticblock" @Success 200 {object} models.SysLog @Failure 403 :id is empty @router /:id [get]

func (*SysLogController) Post

func (c *SysLogController) Post()

@Title Post @Description create SysLog @Param body body models.SysLog true "body for SysLog content" @Success 200 {int} models.SysLog.Id @Failure 403 body is empty @router / [post]

func (*SysLogController) Put

func (c *SysLogController) Put()

@Title Update @Description update the SysLog @Param id path string true "The id you want to update" @Param body body models.SysLog true "body for SysLog content" @Success 200 {object} models.SysLog @Failure 403 :id is not int @router /:id [put]

func (*SysLogController) URLMapping

func (c *SysLogController) URLMapping()

type SysLogErrController

type SysLogErrController struct {
	beego.Controller
}

oprations for SysLogErr

func (*SysLogErrController) Delete

func (c *SysLogErrController) Delete()

@Title Delete @Description delete the SysLogErr @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*SysLogErrController) GetAll

func (c *SysLogErrController) GetAll()

@Title Get All @Description get SysLogErr @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.SysLogErr @Failure 403 @router / [get]

func (*SysLogErrController) GetOne

func (c *SysLogErrController) GetOne()

@Title Get @Description get SysLogErr by id @Param id path string true "The key for staticblock" @Success 200 {object} models.SysLogErr @Failure 403 :id is empty @router /:id [get]

func (*SysLogErrController) Post

func (c *SysLogErrController) Post()

@Title Post @Description create SysLogErr @Param body body models.SysLogErr true "body for SysLogErr content" @Success 200 {int} models.SysLogErr.Id @Failure 403 body is empty @router / [post]

func (*SysLogErrController) Put

func (c *SysLogErrController) Put()

@Title Update @Description update the SysLogErr @Param id path string true "The id you want to update" @Param body body models.SysLogErr true "body for SysLogErr content" @Success 200 {object} models.SysLogErr @Failure 403 :id is not int @router /:id [put]

func (*SysLogErrController) URLMapping

func (c *SysLogErrController) URLMapping()

type SysMenuController

type SysMenuController struct {
	beego.Controller
}

oprations for SysMenu

func (*SysMenuController) Delete

func (c *SysMenuController) Delete()

@Title Delete @Description delete the SysMenu @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*SysMenuController) GetAll

func (c *SysMenuController) GetAll()

@Title Get All @Description get SysMenu @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.SysMenu @Failure 403 @router / [get]

func (*SysMenuController) GetOne

func (c *SysMenuController) GetOne()

@Title Get @Description get SysMenu by id @Param id path string true "The key for staticblock" @Success 200 {object} models.SysMenu @Failure 403 :id is empty @router /:id [get]

func (*SysMenuController) Post

func (c *SysMenuController) Post()

@Title Post @Description create SysMenu @Param body body models.SysMenu true "body for SysMenu content" @Success 200 {int} models.SysMenu.Id @Failure 403 body is empty @router / [post]

func (*SysMenuController) Put

func (c *SysMenuController) Put()

@Title Update @Description update the SysMenu @Param id path string true "The id you want to update" @Param body body models.SysMenu true "body for SysMenu content" @Success 200 {object} models.SysMenu @Failure 403 :id is not int @router /:id [put]

func (*SysMenuController) URLMapping

func (c *SysMenuController) URLMapping()

type SysRoleController

type SysRoleController struct {
	beego.Controller
}

oprations for SysRole

func (*SysRoleController) Delete

func (c *SysRoleController) Delete()

@Title Delete @Description delete the SysRole @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*SysRoleController) GetAll

func (c *SysRoleController) GetAll()

@Title Get All @Description get SysRole @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.SysRole @Failure 403 @router / [get]

func (*SysRoleController) GetOne

func (c *SysRoleController) GetOne()

@Title Get @Description get SysRole by id @Param id path string true "The key for staticblock" @Success 200 {object} models.SysRole @Failure 403 :id is empty @router /:id [get]

func (*SysRoleController) Post

func (c *SysRoleController) Post()

@Title Post @Description create SysRole @Param body body models.SysRole true "body for SysRole content" @Success 200 {int} models.SysRole.Id @Failure 403 body is empty @router / [post]

func (*SysRoleController) Put

func (c *SysRoleController) Put()

@Title Update @Description update the SysRole @Param id path string true "The id you want to update" @Param body body models.SysRole true "body for SysRole content" @Success 200 {object} models.SysRole @Failure 403 :id is not int @router /:id [put]

func (*SysRoleController) URLMapping

func (c *SysRoleController) URLMapping()

type ToolBatchController

type ToolBatchController struct {
	beego.Controller
}

oprations for ToolBatch

func (*ToolBatchController) Delete

func (c *ToolBatchController) Delete()

@Title Delete @Description delete the ToolBatch @Param id path string true "The id you want to delete" @Success 200 {string} delete success! @Failure 403 id is empty @router /:id [delete]

func (*ToolBatchController) GetAll

func (c *ToolBatchController) GetAll()

@Title Get All @Description get ToolBatch @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.ToolBatch @Failure 403 @router / [get]

func (*ToolBatchController) GetOne

func (c *ToolBatchController) GetOne()

@Title Get @Description get ToolBatch by id @Param id path string true "The key for staticblock" @Success 200 {object} models.ToolBatch @Failure 403 :id is empty @router /:id [get]

func (*ToolBatchController) Post

func (c *ToolBatchController) Post()

@Title Post @Description create ToolBatch @Param body body models.ToolBatch true "body for ToolBatch content" @Success 200 {int} models.ToolBatch.Id @Failure 403 body is empty @router / [post]

func (*ToolBatchController) Put

func (c *ToolBatchController) Put()

@Title Update @Description update the ToolBatch @Param id path string true "The id you want to update" @Param body body models.ToolBatch true "body for ToolBatch content" @Success 200 {object} models.ToolBatch @Failure 403 :id is not int @router /:id [put]

func (*ToolBatchController) URLMapping

func (c *ToolBatchController) URLMapping()

Jump to

Keyboard shortcuts

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