- 修复StoreDetail2字段描述错误

This commit is contained in:
gazebo
2019-05-09 14:39:37 +08:00
parent f2b34a77f9
commit 4222d41cc1
2 changed files with 4 additions and 3 deletions

View File

@@ -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
}

View File

@@ -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
}