- store lng and lat.
This commit is contained in:
@@ -80,7 +80,7 @@ func (c *StoreController) UpdateStore() {
|
||||
// @router /CreateStore [post]
|
||||
func (c *StoreController) CreateStore() {
|
||||
c.callCreateStore(func(params *tStoreCreateStoreParams) (retVal interface{}, errCode string, err error) {
|
||||
store := &model.Store{}
|
||||
store := &cms.StoreExt{}
|
||||
if err = utils.UnmarshalUseNumber([]byte(params.Payload), store); err == nil {
|
||||
retVal, err = cms.CreateStore(params.Ctx, store, params.Ctx.GetUserName())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user