Store.ChangePriceType新增StoreChangePriceTypeManagedStore

This commit is contained in:
gazebo
2019-11-11 10:11:43 +08:00
parent 83f9493352
commit f710444cbf
4 changed files with 26 additions and 11 deletions

View File

@@ -798,3 +798,10 @@ func Point2StoreDistance(lng, lat float64, intStoreLng, intStoreLat int, deliver
}
return distance
}
func TranslateStorePriceType(storePriceType int8) int8 {
if storePriceType == model.StoreChangePriceTypeManagedStore {
storePriceType = model.StoreChangePriceTypeBossDisabled
}
return storePriceType
}