- AgreeOrRefuseRefund renmae to AgreeOrRefuseCancel
- 修改饿百门店状态判断的错误
This commit is contained in:
@@ -23,9 +23,7 @@ func init() {
|
||||
}
|
||||
|
||||
func EbaiBusStatus2JxStatus(ebaiStatus int) int {
|
||||
if ebaiStatus == ebaiapi.ShopBusStatusOffline {
|
||||
return model.StoreStatusDisabled
|
||||
} else if ebaiStatus == ebaiapi.ShopBusStatusSuspended {
|
||||
if ebaiStatus == ebaiapi.ShopBusStatusHaveRest || ebaiStatus == ebaiapi.ShopBusStatusSuspended {
|
||||
return model.StoreStatusClosed
|
||||
}
|
||||
return model.StoreStatusOpened
|
||||
|
||||
Reference in New Issue
Block a user