- ebaiapi.ShopBusStatusOffline --> model.StoreStatusDisabled
This commit is contained in:
@@ -20,7 +20,9 @@ func init() {
|
||||
}
|
||||
|
||||
func EbaiBusStatus2JxStatus(ebaiStatus int) int {
|
||||
if ebaiStatus == ebaiapi.ShopBusStatusOffline || ebaiStatus == ebaiapi.ShopBusStatusSuspended {
|
||||
if ebaiStatus == ebaiapi.ShopBusStatusOffline {
|
||||
return model.StoreStatusDisabled
|
||||
} else if ebaiStatus == ebaiapi.ShopBusStatusSuspended {
|
||||
return model.StoreStatusClosed
|
||||
}
|
||||
return model.StoreStatusOpened
|
||||
|
||||
Reference in New Issue
Block a user