- use RefreshMissingDadaStores in AddStoreVendorMap

This commit is contained in:
gazebo
2019-02-18 17:10:33 +08:00
parent 63115e3a16
commit 2817786cea
3 changed files with 5 additions and 23 deletions

View File

@@ -298,7 +298,7 @@ func (c *StoreController) DeleteStoreCourierMap() {
// @router /RefreshMissingDadaStores [put]
func (c *StoreController) RefreshMissingDadaStores() {
c.callRefreshMissingDadaStores(func(params *tStoreRefreshMissingDadaStoresParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.RefreshMissingDadaStores(params.Ctx, params.IsAsync, params.IsContinueWhenError)
retVal, err = cms.RefreshMissingDadaStores(params.Ctx, 0, params.IsAsync, params.IsContinueWhenError)
return retVal, "", err
})
}