Documentation ¶
Index ¶
- type AuthGroupController
- type AuthGroupPermissionsController
- type AuthPermissionController
- type AuthUserController
- type AuthUserGroupsController
- type AuthUserUserPermissionsController
- func (c *AuthUserUserPermissionsController) Delete()
- func (c *AuthUserUserPermissionsController) GetAll()
- func (c *AuthUserUserPermissionsController) GetOne()
- func (c *AuthUserUserPermissionsController) Post()
- func (c *AuthUserUserPermissionsController) Put()
- func (c *AuthUserUserPermissionsController) URLMapping()
- type BannerController
- type CacheController
- type CommodityController
- type CommodityTypeController
- type CompanyController
- type DjangoAdminLogController
- type DjangoContentTypeController
- type DjangoMigrationsController
- type DjangoSessionController
- type FeedBackController
- type NewsController
- type NewsTypeController
- type RecommendController
- type SloganController
- type UserCompanyController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthGroupController ¶
type AuthGroupController struct {
beego.Controller
}
AuthGroupController operations for AuthGroup
func (*AuthGroupController) Delete ¶
func (c *AuthGroupController) Delete()
Delete ... @Title Delete @Description delete the AuthGroup @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 (*AuthGroupController) GetAll ¶
func (c *AuthGroupController) GetAll()
GetAll ... @Title Get All @Description get AuthGroup @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.AuthGroup @Failure 403 @router / [get]
func (*AuthGroupController) GetOne ¶
func (c *AuthGroupController) GetOne()
GetOne ... @Title Get One @Description get AuthGroup by id @Param id path string true "The key for staticblock" @Success 200 {object} models.AuthGroup @Failure 403 :id is empty @router /:id [get]
func (*AuthGroupController) Post ¶
func (c *AuthGroupController) Post()
Post ... @Title Post @Description create AuthGroup @Param body body models.AuthGroup true "body for AuthGroup content" @Success 201 {int} models.AuthGroup @Failure 403 body is empty @router / [post]
func (*AuthGroupController) Put ¶
func (c *AuthGroupController) Put()
Put ... @Title Put @Description update the AuthGroup @Param id path string true "The id you want to update" @Param body body models.AuthGroup true "body for AuthGroup content" @Success 200 {object} models.AuthGroup @Failure 403 :id is not int @router /:id [put]
type AuthGroupPermissionsController ¶
type AuthGroupPermissionsController struct {
beego.Controller
}
AuthGroupPermissionsController operations for AuthGroupPermissions
func (*AuthGroupPermissionsController) Delete ¶
func (c *AuthGroupPermissionsController) Delete()
Delete ... @Title Delete @Description delete the AuthGroupPermissions @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 (*AuthGroupPermissionsController) GetAll ¶
func (c *AuthGroupPermissionsController) GetAll()
GetAll ... @Title Get All @Description get AuthGroupPermissions @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.AuthGroupPermissions @Failure 403 @router / [get]
func (*AuthGroupPermissionsController) GetOne ¶
func (c *AuthGroupPermissionsController) GetOne()
GetOne ... @Title Get One @Description get AuthGroupPermissions by id @Param id path string true "The key for staticblock" @Success 200 {object} models.AuthGroupPermissions @Failure 403 :id is empty @router /:id [get]
func (*AuthGroupPermissionsController) Post ¶
func (c *AuthGroupPermissionsController) Post()
Post ... @Title Post @Description create AuthGroupPermissions @Param body body models.AuthGroupPermissions true "body for AuthGroupPermissions content" @Success 201 {int} models.AuthGroupPermissions @Failure 403 body is empty @router / [post]
func (*AuthGroupPermissionsController) Put ¶
func (c *AuthGroupPermissionsController) Put()
Put ... @Title Put @Description update the AuthGroupPermissions @Param id path string true "The id you want to update" @Param body body models.AuthGroupPermissions true "body for AuthGroupPermissions content" @Success 200 {object} models.AuthGroupPermissions @Failure 403 :id is not int @router /:id [put]
func (*AuthGroupPermissionsController) URLMapping ¶
func (c *AuthGroupPermissionsController) URLMapping()
URLMapping ...
type AuthPermissionController ¶
type AuthPermissionController struct {
beego.Controller
}
AuthPermissionController operations for AuthPermission
func (*AuthPermissionController) Delete ¶
func (c *AuthPermissionController) Delete()
Delete ... @Title Delete @Description delete the AuthPermission @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 (*AuthPermissionController) GetAll ¶
func (c *AuthPermissionController) GetAll()
GetAll ... @Title Get All @Description get AuthPermission @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.AuthPermission @Failure 403 @router / [get]
func (*AuthPermissionController) GetOne ¶
func (c *AuthPermissionController) GetOne()
GetOne ... @Title Get One @Description get AuthPermission by id @Param id path string true "The key for staticblock" @Success 200 {object} models.AuthPermission @Failure 403 :id is empty @router /:id [get]
func (*AuthPermissionController) Post ¶
func (c *AuthPermissionController) Post()
Post ... @Title Post @Description create AuthPermission @Param body body models.AuthPermission true "body for AuthPermission content" @Success 201 {int} models.AuthPermission @Failure 403 body is empty @router / [post]
func (*AuthPermissionController) Put ¶
func (c *AuthPermissionController) Put()
Put ... @Title Put @Description update the AuthPermission @Param id path string true "The id you want to update" @Param body body models.AuthPermission true "body for AuthPermission content" @Success 200 {object} models.AuthPermission @Failure 403 :id is not int @router /:id [put]
func (*AuthPermissionController) URLMapping ¶
func (c *AuthPermissionController) URLMapping()
URLMapping ...
type AuthUserController ¶
type AuthUserController struct {
beego.Controller
}
AuthUserController operations for AuthUser
func (*AuthUserController) Delete ¶
func (c *AuthUserController) Delete()
Delete ... @Title Delete @Description delete the AuthUser @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 (*AuthUserController) GetAll ¶
func (c *AuthUserController) GetAll()
GetAll ... @Title Get All @Description get AuthUser @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.AuthUser @Failure 403 @router / [get]
func (*AuthUserController) GetOne ¶
func (c *AuthUserController) GetOne()
GetOne ... @Title Get One @Description get AuthUser by id @Param id path string true "The key for staticblock" @Success 200 {object} models.AuthUser @Failure 403 :id is empty @router /:id [get]
func (*AuthUserController) Post ¶
func (c *AuthUserController) Post()
Post ... @Title Post @Description create AuthUser @Param body body models.AuthUser true "body for AuthUser content" @Success 201 {int} models.AuthUser @Failure 403 body is empty @router / [post]
func (*AuthUserController) Put ¶
func (c *AuthUserController) Put()
Put ... @Title Put @Description update the AuthUser @Param id path string true "The id you want to update" @Param body body models.AuthUser true "body for AuthUser content" @Success 200 {object} models.AuthUser @Failure 403 :id is not int @router /:id [put]
type AuthUserGroupsController ¶
type AuthUserGroupsController struct {
beego.Controller
}
AuthUserGroupsController operations for AuthUserGroups
func (*AuthUserGroupsController) Delete ¶
func (c *AuthUserGroupsController) Delete()
Delete ... @Title Delete @Description delete the AuthUserGroups @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 (*AuthUserGroupsController) GetAll ¶
func (c *AuthUserGroupsController) GetAll()
GetAll ... @Title Get All @Description get AuthUserGroups @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.AuthUserGroups @Failure 403 @router / [get]
func (*AuthUserGroupsController) GetOne ¶
func (c *AuthUserGroupsController) GetOne()
GetOne ... @Title Get One @Description get AuthUserGroups by id @Param id path string true "The key for staticblock" @Success 200 {object} models.AuthUserGroups @Failure 403 :id is empty @router /:id [get]
func (*AuthUserGroupsController) Post ¶
func (c *AuthUserGroupsController) Post()
Post ... @Title Post @Description create AuthUserGroups @Param body body models.AuthUserGroups true "body for AuthUserGroups content" @Success 201 {int} models.AuthUserGroups @Failure 403 body is empty @router / [post]
func (*AuthUserGroupsController) Put ¶
func (c *AuthUserGroupsController) Put()
Put ... @Title Put @Description update the AuthUserGroups @Param id path string true "The id you want to update" @Param body body models.AuthUserGroups true "body for AuthUserGroups content" @Success 200 {object} models.AuthUserGroups @Failure 403 :id is not int @router /:id [put]
func (*AuthUserGroupsController) URLMapping ¶
func (c *AuthUserGroupsController) URLMapping()
URLMapping ...
type AuthUserUserPermissionsController ¶
type AuthUserUserPermissionsController struct {
beego.Controller
}
AuthUserUserPermissionsController operations for AuthUserUserPermissions
func (*AuthUserUserPermissionsController) Delete ¶
func (c *AuthUserUserPermissionsController) Delete()
Delete ... @Title Delete @Description delete the AuthUserUserPermissions @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 (*AuthUserUserPermissionsController) GetAll ¶
func (c *AuthUserUserPermissionsController) GetAll()
GetAll ... @Title Get All @Description get AuthUserUserPermissions @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.AuthUserUserPermissions @Failure 403 @router / [get]
func (*AuthUserUserPermissionsController) GetOne ¶
func (c *AuthUserUserPermissionsController) GetOne()
GetOne ... @Title Get One @Description get AuthUserUserPermissions by id @Param id path string true "The key for staticblock" @Success 200 {object} models.AuthUserUserPermissions @Failure 403 :id is empty @router /:id [get]
func (*AuthUserUserPermissionsController) Post ¶
func (c *AuthUserUserPermissionsController) Post()
Post ... @Title Post @Description create AuthUserUserPermissions @Param body body models.AuthUserUserPermissions true "body for AuthUserUserPermissions content" @Success 201 {int} models.AuthUserUserPermissions @Failure 403 body is empty @router / [post]
func (*AuthUserUserPermissionsController) Put ¶
func (c *AuthUserUserPermissionsController) Put()
Put ... @Title Put @Description update the AuthUserUserPermissions @Param id path string true "The id you want to update" @Param body body models.AuthUserUserPermissions true "body for AuthUserUserPermissions content" @Success 200 {object} models.AuthUserUserPermissions @Failure 403 :id is not int @router /:id [put]
func (*AuthUserUserPermissionsController) URLMapping ¶
func (c *AuthUserUserPermissionsController) URLMapping()
URLMapping ...
type BannerController ¶
type BannerController struct {
beego.Controller
}
BannerController operations for Banner
func (*BannerController) Delete ¶
func (c *BannerController) Delete()
Delete ... @Title Delete @Description delete the Banner @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 (*BannerController) GetAll ¶
func (c *BannerController) GetAll()
GetAll ... @Title Get All @Description get Banner @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.Banner @Failure 403 @router / [get]
func (*BannerController) GetOne ¶
func (c *BannerController) GetOne()
GetOne ... @Title Get One @Description get Banner by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Banner @Failure 403 :id is empty @router /:id [get]
func (*BannerController) Post ¶
func (c *BannerController) Post()
Post ... @Title Post @Description create Banner @Param body body models.Banner true "body for Banner content" @Success 201 {int} models.Banner @Failure 403 body is empty @router / [post]
func (*BannerController) Put ¶
func (c *BannerController) Put()
Put ... @Title Put @Description update the Banner @Param id path string true "The id you want to update" @Param body body models.Banner true "body for Banner content" @Success 200 {object} models.Banner @Failure 403 :id is not int @router /:id [put]
type CacheController ¶
type CacheController struct {
beego.Controller
}
CacheController operations for Cache
func (*CacheController) Delete ¶
func (c *CacheController) Delete()
Delete ... @Title Delete @Description delete the Cache @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 (*CacheController) GetAll ¶
func (c *CacheController) GetAll()
GetAll ... @Title Get All @Description get Cache @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.Cache @Failure 403 @router / [get]
func (*CacheController) GetOne ¶
func (c *CacheController) GetOne()
GetOne ... @Title Get One @Description get Cache by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Cache @Failure 403 :id is empty @router /:id [get]
func (*CacheController) Post ¶
func (c *CacheController) Post()
Post ... @Title Post @Description create Cache @Param body body models.Cache true "body for Cache content" @Success 201 {int} models.Cache @Failure 403 body is empty @router / [post]
func (*CacheController) Put ¶
func (c *CacheController) Put()
Put ... @Title Put @Description update the Cache @Param id path string true "The id you want to update" @Param body body models.Cache true "body for Cache content" @Success 200 {object} models.Cache @Failure 403 :id is not int @router /:id [put]
type CommodityController ¶
type CommodityController struct {
beego.Controller
}
CommodityController operations for Commodity
func (*CommodityController) Delete ¶
func (c *CommodityController) Delete()
Delete ... @Title Delete @Description delete the Commodity @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 (*CommodityController) GetAll ¶
func (c *CommodityController) GetAll()
GetAll ... @Title Get All @Description get Commodity @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.Commodity @Failure 403 @router / [get]
func (*CommodityController) GetOne ¶
func (c *CommodityController) GetOne()
GetOne ... @Title Get One @Description get Commodity by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Commodity @Failure 403 :id is empty @router /:id [get]
func (*CommodityController) Post ¶
func (c *CommodityController) Post()
Post ... @Title Post @Description create Commodity @Param body body models.Commodity true "body for Commodity content" @Success 201 {int} models.Commodity @Failure 403 body is empty @router / [post]
func (*CommodityController) Put ¶
func (c *CommodityController) Put()
Put ... @Title Put @Description update the Commodity @Param id path string true "The id you want to update" @Param body body models.Commodity true "body for Commodity content" @Success 200 {object} models.Commodity @Failure 403 :id is not int @router /:id [put]
type CommodityTypeController ¶
type CommodityTypeController struct {
beego.Controller
}
CommodityTypeController operations for CommodityType
func (*CommodityTypeController) Delete ¶
func (c *CommodityTypeController) Delete()
Delete ... @Title Delete @Description delete the CommodityType @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 (*CommodityTypeController) GetAll ¶
func (c *CommodityTypeController) GetAll()
GetAll ... @Title Get All @Description get CommodityType @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.CommodityType @Failure 403 @router / [get]
func (*CommodityTypeController) GetOne ¶
func (c *CommodityTypeController) GetOne()
GetOne ... @Title Get One @Description get CommodityType by id @Param id path string true "The key for staticblock" @Success 200 {object} models.CommodityType @Failure 403 :id is empty @router /:id [get]
func (*CommodityTypeController) Post ¶
func (c *CommodityTypeController) Post()
Post ... @Title Post @Description create CommodityType @Param body body models.CommodityType true "body for CommodityType content" @Success 201 {int} models.CommodityType @Failure 403 body is empty @router / [post]
func (*CommodityTypeController) Put ¶
func (c *CommodityTypeController) Put()
Put ... @Title Put @Description update the CommodityType @Param id path string true "The id you want to update" @Param body body models.CommodityType true "body for CommodityType content" @Success 200 {object} models.CommodityType @Failure 403 :id is not int @router /:id [put]
func (*CommodityTypeController) URLMapping ¶
func (c *CommodityTypeController) URLMapping()
URLMapping ...
type CompanyController ¶
type CompanyController struct {
beego.Controller
}
CompanyController operations for Company
func (*CompanyController) Delete ¶
func (c *CompanyController) Delete()
Delete ... @Title Delete @Description delete the Company @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 (*CompanyController) GetAll ¶
func (c *CompanyController) GetAll()
GetAll ... @Title Get All @Description get Company @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.Company @Failure 403 @router / [get]
func (*CompanyController) GetOne ¶
func (c *CompanyController) GetOne()
GetOne ... @Title Get One @Description get Company by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Company @Failure 403 :id is empty @router /:id [get]
func (*CompanyController) Post ¶
func (c *CompanyController) Post()
Post ... @Title Post @Description create Company @Param body body models.Company true "body for Company content" @Success 201 {int} models.Company @Failure 403 body is empty @router / [post]
func (*CompanyController) Put ¶
func (c *CompanyController) Put()
Put ... @Title Put @Description update the Company @Param id path string true "The id you want to update" @Param body body models.Company true "body for Company content" @Success 200 {object} models.Company @Failure 403 :id is not int @router /:id [put]
type DjangoAdminLogController ¶
type DjangoAdminLogController struct {
beego.Controller
}
DjangoAdminLogController operations for DjangoAdminLog
func (*DjangoAdminLogController) Delete ¶
func (c *DjangoAdminLogController) Delete()
Delete ... @Title Delete @Description delete the DjangoAdminLog @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 (*DjangoAdminLogController) GetAll ¶
func (c *DjangoAdminLogController) GetAll()
GetAll ... @Title Get All @Description get DjangoAdminLog @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.DjangoAdminLog @Failure 403 @router / [get]
func (*DjangoAdminLogController) GetOne ¶
func (c *DjangoAdminLogController) GetOne()
GetOne ... @Title Get One @Description get DjangoAdminLog by id @Param id path string true "The key for staticblock" @Success 200 {object} models.DjangoAdminLog @Failure 403 :id is empty @router /:id [get]
func (*DjangoAdminLogController) Post ¶
func (c *DjangoAdminLogController) Post()
Post ... @Title Post @Description create DjangoAdminLog @Param body body models.DjangoAdminLog true "body for DjangoAdminLog content" @Success 201 {int} models.DjangoAdminLog @Failure 403 body is empty @router / [post]
func (*DjangoAdminLogController) Put ¶
func (c *DjangoAdminLogController) Put()
Put ... @Title Put @Description update the DjangoAdminLog @Param id path string true "The id you want to update" @Param body body models.DjangoAdminLog true "body for DjangoAdminLog content" @Success 200 {object} models.DjangoAdminLog @Failure 403 :id is not int @router /:id [put]
func (*DjangoAdminLogController) URLMapping ¶
func (c *DjangoAdminLogController) URLMapping()
URLMapping ...
type DjangoContentTypeController ¶
type DjangoContentTypeController struct {
beego.Controller
}
DjangoContentTypeController operations for DjangoContentType
func (*DjangoContentTypeController) Delete ¶
func (c *DjangoContentTypeController) Delete()
Delete ... @Title Delete @Description delete the DjangoContentType @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 (*DjangoContentTypeController) GetAll ¶
func (c *DjangoContentTypeController) GetAll()
GetAll ... @Title Get All @Description get DjangoContentType @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.DjangoContentType @Failure 403 @router / [get]
func (*DjangoContentTypeController) GetOne ¶
func (c *DjangoContentTypeController) GetOne()
GetOne ... @Title Get One @Description get DjangoContentType by id @Param id path string true "The key for staticblock" @Success 200 {object} models.DjangoContentType @Failure 403 :id is empty @router /:id [get]
func (*DjangoContentTypeController) Post ¶
func (c *DjangoContentTypeController) Post()
Post ... @Title Post @Description create DjangoContentType @Param body body models.DjangoContentType true "body for DjangoContentType content" @Success 201 {int} models.DjangoContentType @Failure 403 body is empty @router / [post]
func (*DjangoContentTypeController) Put ¶
func (c *DjangoContentTypeController) Put()
Put ... @Title Put @Description update the DjangoContentType @Param id path string true "The id you want to update" @Param body body models.DjangoContentType true "body for DjangoContentType content" @Success 200 {object} models.DjangoContentType @Failure 403 :id is not int @router /:id [put]
func (*DjangoContentTypeController) URLMapping ¶
func (c *DjangoContentTypeController) URLMapping()
URLMapping ...
type DjangoMigrationsController ¶
type DjangoMigrationsController struct {
beego.Controller
}
DjangoMigrationsController operations for DjangoMigrations
func (*DjangoMigrationsController) Delete ¶
func (c *DjangoMigrationsController) Delete()
Delete ... @Title Delete @Description delete the DjangoMigrations @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 (*DjangoMigrationsController) GetAll ¶
func (c *DjangoMigrationsController) GetAll()
GetAll ... @Title Get All @Description get DjangoMigrations @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.DjangoMigrations @Failure 403 @router / [get]
func (*DjangoMigrationsController) GetOne ¶
func (c *DjangoMigrationsController) GetOne()
GetOne ... @Title Get One @Description get DjangoMigrations by id @Param id path string true "The key for staticblock" @Success 200 {object} models.DjangoMigrations @Failure 403 :id is empty @router /:id [get]
func (*DjangoMigrationsController) Post ¶
func (c *DjangoMigrationsController) Post()
Post ... @Title Post @Description create DjangoMigrations @Param body body models.DjangoMigrations true "body for DjangoMigrations content" @Success 201 {int} models.DjangoMigrations @Failure 403 body is empty @router / [post]
func (*DjangoMigrationsController) Put ¶
func (c *DjangoMigrationsController) Put()
Put ... @Title Put @Description update the DjangoMigrations @Param id path string true "The id you want to update" @Param body body models.DjangoMigrations true "body for DjangoMigrations content" @Success 200 {object} models.DjangoMigrations @Failure 403 :id is not int @router /:id [put]
func (*DjangoMigrationsController) URLMapping ¶
func (c *DjangoMigrationsController) URLMapping()
URLMapping ...
type DjangoSessionController ¶
type DjangoSessionController struct {
beego.Controller
}
DjangoSessionController operations for DjangoSession
func (*DjangoSessionController) Delete ¶
func (c *DjangoSessionController) Delete()
Delete ... @Title Delete @Description delete the DjangoSession @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 (*DjangoSessionController) GetAll ¶
func (c *DjangoSessionController) GetAll()
GetAll ... @Title Get All @Description get DjangoSession @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.DjangoSession @Failure 403 @router / [get]
func (*DjangoSessionController) GetOne ¶
func (c *DjangoSessionController) GetOne()
GetOne ... @Title Get One @Description get DjangoSession by id @Param id path string true "The key for staticblock" @Success 200 {object} models.DjangoSession @Failure 403 :id is empty @router /:id [get]
func (*DjangoSessionController) Post ¶
func (c *DjangoSessionController) Post()
Post ... @Title Post @Description create DjangoSession @Param body body models.DjangoSession true "body for DjangoSession content" @Success 201 {int} models.DjangoSession @Failure 403 body is empty @router / [post]
func (*DjangoSessionController) Put ¶
func (c *DjangoSessionController) Put()
Put ... @Title Put @Description update the DjangoSession @Param id path string true "The id you want to update" @Param body body models.DjangoSession true "body for DjangoSession content" @Success 200 {object} models.DjangoSession @Failure 403 :id is not int @router /:id [put]
func (*DjangoSessionController) URLMapping ¶
func (c *DjangoSessionController) URLMapping()
URLMapping ...
type FeedBackController ¶
type FeedBackController struct {
beego.Controller
}
FeedBackController operations for FeedBack
func (*FeedBackController) Delete ¶
func (c *FeedBackController) Delete()
Delete ... @Title Delete @Description delete the FeedBack @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 (*FeedBackController) GetAll ¶
func (c *FeedBackController) GetAll()
GetAll ... @Title Get All @Description get FeedBack @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.FeedBack @Failure 403 @router / [get]
func (*FeedBackController) GetOne ¶
func (c *FeedBackController) GetOne()
GetOne ... @Title Get One @Description get FeedBack by id @Param id path string true "The key for staticblock" @Success 200 {object} models.FeedBack @Failure 403 :id is empty @router /:id [get]
func (*FeedBackController) Post ¶
func (c *FeedBackController) Post()
Post ... @Title Post @Description create FeedBack @Param body body models.FeedBack true "body for FeedBack content" @Success 201 {int} models.FeedBack @Failure 403 body is empty @router / [post]
func (*FeedBackController) Put ¶
func (c *FeedBackController) Put()
Put ... @Title Put @Description update the FeedBack @Param id path string true "The id you want to update" @Param body body models.FeedBack true "body for FeedBack content" @Success 200 {object} models.FeedBack @Failure 403 :id is not int @router /:id [put]
type NewsController ¶
type NewsController struct {
beego.Controller
}
NewsController operations for News
func (*NewsController) Delete ¶
func (c *NewsController) Delete()
Delete ... @Title Delete @Description delete the News @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 (*NewsController) GetAll ¶
func (c *NewsController) GetAll()
GetAll ... @Title Get All @Description get News @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.News @Failure 403 @router / [get]
func (*NewsController) GetOne ¶
func (c *NewsController) GetOne()
GetOne ... @Title Get One @Description get News by id @Param id path string true "The key for staticblock" @Success 200 {object} models.News @Failure 403 :id is empty @router /:id [get]
func (*NewsController) Post ¶
func (c *NewsController) Post()
Post ... @Title Post @Description create News @Param body body models.News true "body for News content" @Success 201 {int} models.News @Failure 403 body is empty @router / [post]
func (*NewsController) Put ¶
func (c *NewsController) Put()
Put ... @Title Put @Description update the News @Param id path string true "The id you want to update" @Param body body models.News true "body for News content" @Success 200 {object} models.News @Failure 403 :id is not int @router /:id [put]
type NewsTypeController ¶
type NewsTypeController struct {
beego.Controller
}
NewsTypeController operations for NewsType
func (*NewsTypeController) Delete ¶
func (c *NewsTypeController) Delete()
Delete ... @Title Delete @Description delete the NewsType @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 (*NewsTypeController) GetAll ¶
func (c *NewsTypeController) GetAll()
GetAll ... @Title Get All @Description get NewsType @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.NewsType @Failure 403 @router / [get]
func (*NewsTypeController) GetOne ¶
func (c *NewsTypeController) GetOne()
GetOne ... @Title Get One @Description get NewsType by id @Param id path string true "The key for staticblock" @Success 200 {object} models.NewsType @Failure 403 :id is empty @router /:id [get]
func (*NewsTypeController) Post ¶
func (c *NewsTypeController) Post()
Post ... @Title Post @Description create NewsType @Param body body models.NewsType true "body for NewsType content" @Success 201 {int} models.NewsType @Failure 403 body is empty @router / [post]
func (*NewsTypeController) Put ¶
func (c *NewsTypeController) Put()
Put ... @Title Put @Description update the NewsType @Param id path string true "The id you want to update" @Param body body models.NewsType true "body for NewsType content" @Success 200 {object} models.NewsType @Failure 403 :id is not int @router /:id [put]
type RecommendController ¶
type RecommendController struct {
beego.Controller
}
RecommendController operations for Recommend
func (*RecommendController) Delete ¶
func (c *RecommendController) Delete()
Delete ... @Title Delete @Description delete the Recommend @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 (*RecommendController) GetAll ¶
func (c *RecommendController) GetAll()
GetAll ... @Title Get All @Description get Recommend @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.Recommend @Failure 403 @router / [get]
func (*RecommendController) GetOne ¶
func (c *RecommendController) GetOne()
GetOne ... @Title Get One @Description get Recommend by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Recommend @Failure 403 :id is empty @router /:id [get]
func (*RecommendController) Post ¶
func (c *RecommendController) Post()
Post ... @Title Post @Description create Recommend @Param body body models.Recommend true "body for Recommend content" @Success 201 {int} models.Recommend @Failure 403 body is empty @router / [post]
func (*RecommendController) Put ¶
func (c *RecommendController) Put()
Put ... @Title Put @Description update the Recommend @Param id path string true "The id you want to update" @Param body body models.Recommend true "body for Recommend content" @Success 200 {object} models.Recommend @Failure 403 :id is not int @router /:id [put]
type SloganController ¶
type SloganController struct {
beego.Controller
}
SloganController operations for Slogan
func (*SloganController) Delete ¶
func (c *SloganController) Delete()
Delete ... @Title Delete @Description delete the Slogan @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 (*SloganController) GetAll ¶
func (c *SloganController) GetAll()
GetAll ... @Title Get All @Description get Slogan @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.Slogan @Failure 403 @router / [get]
func (*SloganController) GetOne ¶
func (c *SloganController) GetOne()
GetOne ... @Title Get One @Description get Slogan by id @Param id path string true "The key for staticblock" @Success 200 {object} models.Slogan @Failure 403 :id is empty @router /:id [get]
func (*SloganController) Post ¶
func (c *SloganController) Post()
Post ... @Title Post @Description create Slogan @Param body body models.Slogan true "body for Slogan content" @Success 201 {int} models.Slogan @Failure 403 body is empty @router / [post]
func (*SloganController) Put ¶
func (c *SloganController) Put()
Put ... @Title Put @Description update the Slogan @Param id path string true "The id you want to update" @Param body body models.Slogan true "body for Slogan content" @Success 200 {object} models.Slogan @Failure 403 :id is not int @router /:id [put]
type UserCompanyController ¶
type UserCompanyController struct {
beego.Controller
}
UserCompanyController operations for UserCompany
func (*UserCompanyController) Delete ¶
func (c *UserCompanyController) Delete()
Delete ... @Title Delete @Description delete the UserCompany @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 (*UserCompanyController) GetAll ¶
func (c *UserCompanyController) GetAll()
GetAll ... @Title Get All @Description get UserCompany @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.UserCompany @Failure 403 @router / [get]
func (*UserCompanyController) GetOne ¶
func (c *UserCompanyController) GetOne()
GetOne ... @Title Get One @Description get UserCompany by id @Param id path string true "The key for staticblock" @Success 200 {object} models.UserCompany @Failure 403 :id is empty @router /:id [get]
func (*UserCompanyController) Post ¶
func (c *UserCompanyController) Post()
Post ... @Title Post @Description create UserCompany @Param body body models.UserCompany true "body for UserCompany content" @Success 201 {int} models.UserCompany @Failure 403 body is empty @router / [post]
func (*UserCompanyController) Put ¶
func (c *UserCompanyController) Put()
Put ... @Title Put @Description update the UserCompany @Param id path string true "The id you want to update" @Param body body models.UserCompany true "body for UserCompany content" @Success 200 {object} models.UserCompany @Failure 403 :id is not int @router /:id [put]
func (*UserCompanyController) URLMapping ¶
func (c *UserCompanyController) URLMapping()
URLMapping ...
Source Files ¶
- auth_group.go
- auth_group_permissions.go
- auth_permission.go
- auth_user.go
- auth_user_groups.go
- auth_user_user_permissions.go
- banner.go
- cache.go
- commodity.go
- commodity_type.go
- company.go
- django_admin_log.go
- django_content_type.go
- django_migrations.go
- django_session.go
- feed_back.go
- news.go
- news_type.go
- recommend.go
- slogan.go
- user_company.go