hepa-calc-api/utils/intToString.go

16 lines
316 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package utils
// OrderCancelReasonToString 订单取消原因1:主动取消 2:后台取消 3:支付超时取消)
func OrderCancelReasonToString(i int) string {
switch i {
case 1:
return "主动取消"
case 2:
return "后台取消"
case 3:
return "支付超时取消"
default:
return "取消"
}
}