This commit is contained in:
suyl
2021-06-01 15:54:26 +08:00
parent 92d8144065
commit 588a2a1f72
3 changed files with 54 additions and 0 deletions

View File

@@ -143,6 +143,20 @@ func (c *StoreController) CreateStore() {
})
}
// @Title 商户创建京西门店
// @Description 商户创建京西门店
// @Param token header string true "认证token"
// @Param mobile formData string true "电话"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /CreateStoreByUser [post]
func (c *StoreController) CreateStoreByUser() {
c.callCreateStoreByUser(func(params *tStoreCreateStoreByUserParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.CreateStoreByUser(params.Ctx, params.Mobile)
return retVal, "", err
})
}
// @Title 得到门店映射信息
// @Description 得到门店映射信息
// @Param token header string false "认证token"