diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index e3cd810f3..f541be960 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -881,9 +881,10 @@ func RefreshMissingDadaStores(ctx *jxcontext.Context, storeID int, isAsync, isCo return nil, err }, storeList) tasksch.HandleTask(task, nil, true).Run() - hint = task.ID if !isAsync { _, err = task.GetResult(0) + } else { + hint = task.ID } return hint, err } diff --git a/business/model/dao/store.go b/business/model/dao/store.go index a228e97e9..3a6c07005 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -24,8 +24,8 @@ type StoreDetail struct { type StoreDetail2 struct { model.Store - VendorStoreID string `orm:"column(vendor_store_id)` // 这个在GetMissingDadaStores返回中指的是到家的vendorStoreID - DadaStoreID string `orm:"column(dada_store_id)` + VendorStoreID string `orm:"column(vendor_store_id)"` // 这个在GetMissingDadaStores返回中指的是到家的vendorStoreID + DadaStoreID string `orm:"column(dada_store_id)"` DistrictName string CityName string }