- cms/GetServiceInfo.
This commit is contained in:
@@ -14,10 +14,10 @@ type CmsController struct {
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetServerInfo [get]
|
||||
func (c *CmsController) GetServerInfo() {
|
||||
c.callGetServerInfo(func(params *tCmsGetServerInfoParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal = cms.GetServerInfo()
|
||||
// @router /GetServiceInfo [get]
|
||||
func (c *CmsController) GetServiceInfo() {
|
||||
c.callGetServiceInfo(func(params *tCmsGetServiceInfoParams) (retVal interface{}, errCode string, err error) {
|
||||
retVal = cms.GetServiceInfo()
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user