initdata
This commit is contained in:
@@ -2,6 +2,7 @@ package controllers
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
|
||||
"git.rosy.net.cn/jx-callback/business/jxstore/initdata"
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils/datares"
|
||||
"github.com/astaxie/beego"
|
||||
)
|
||||
@@ -100,3 +101,16 @@ func (c *CmsController) GetServiceInfo() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title init place
|
||||
// @Description init place
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /InitPlace [post]
|
||||
func (c *CmsController) InitPlace() {
|
||||
c.callInitPlace(func(params *tCmsInitPlaceParams) (retVal interface{}, errCode string, err error) {
|
||||
err = initdata.InitPlace(params.Ctx)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user