aa
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user