diff --git a/controllers/cms_store.go b/controllers/cms_store.go index 96a3b3c70..07bdf9238 100644 --- a/controllers/cms_store.go +++ b/controllers/cms_store.go @@ -291,14 +291,15 @@ func (c *StoreController) DeleteStoreCourierMap() { // @Title 根据绑定的京东定,自动创建达达店 // @Description 根据绑定的京东定,自动创建达达店 // @Param token header string true "认证token" -// @Param isAsync query bool true "是否异步操作" -// @Param isContinueWhenError query bool false "单个同步失败是否继续,缺省false" +// @Param storeID formData int false "门店ID" +// @Param isAsync formData bool false "是否异步操作" +// @Param isContinueWhenError formData bool false "单个同步失败是否继续,缺省false" // @Success 200 {object} controllers.CallResult // @Failure 200 {object} controllers.CallResult // @router /RefreshMissingDadaStores [put] func (c *StoreController) RefreshMissingDadaStores() { c.callRefreshMissingDadaStores(func(params *tStoreRefreshMissingDadaStoresParams) (retVal interface{}, errCode string, err error) { - retVal, err = cms.RefreshMissingDadaStores(params.Ctx, 0, params.IsAsync, params.IsContinueWhenError) + retVal, err = cms.RefreshMissingDadaStores(params.Ctx, params.StoreID, params.IsAsync, params.IsContinueWhenError) return retVal, "", err }) }