go-common/app/interface/main/credit/model/archive.go

11 lines
241 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
import (
arcMDL "go-common/app/service/main/archive/model/archive"
)
// ArcVisible .
func ArcVisible(state int32) bool {
return state == arcMDL.StateOpen || state == arcMDL.StateOrange || state == arcMDL.StateForbidFixed
}