This commit is contained in:
苏尹岚
2020-11-30 18:26:15 +08:00
parent afeb65d616
commit e247aa69ba
5 changed files with 62 additions and 0 deletions

View File

@@ -145,3 +145,16 @@ func (c *CmsController) UpdatePlace() {
return retVal, "", err
})
}
// @Title init station
// @Description init station
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /InitStation [post]
func (c *CmsController) InitStation() {
c.callInitStation(func(params *tCmsInitStationParams) (retVal interface{}, errCode string, err error) {
err = cms.InitStation(params.Ctx)
return retVal, "", err
})
}