- 达达,郫都区-->郫县
This commit is contained in:
@@ -909,6 +909,9 @@ func updateOrCreateDadaStore(storeDetail *dao.StoreDetail2) (err error) {
|
|||||||
if storeDetail.CityName == "" {
|
if storeDetail.CityName == "" {
|
||||||
return fmt.Errorf("门店的城市码有问题,请检查")
|
return fmt.Errorf("门店的城市码有问题,请检查")
|
||||||
}
|
}
|
||||||
|
if storeDetail.DistrictName == "郫都区" {
|
||||||
|
storeDetail.DistrictName = "郫县"
|
||||||
|
}
|
||||||
if globals.EnableStoreWrite {
|
if globals.EnableStoreWrite {
|
||||||
_, err = api.DadaAPI.ShopDetail(storeDetail.DadaStoreID)
|
_, err = api.DadaAPI.ShopDetail(storeDetail.DadaStoreID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user