mapping

package
v0.0.0-...-6a8978f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// 订单付费模式:prePay 预付费 postPay后付费 riPay预留实例
	PAY_TYPE_STATUS_MAP = map[string]resource.PayMode{
		"包年包月":             resource.PayMode_PRE_PAY,
		"0":                resource.PayMode_PRE_PAY,
		"PREPAID":          resource.PayMode_PRE_PAY,
		"prePay":           resource.PayMode_PRE_PAY,
		"1":                resource.PayMode_POST_PAY,
		"POSTPAID_BY_HOUR": resource.PayMode_POST_PAY,
		"postPay":          resource.PayMode_POST_PAY,
		"SPOTPAID":         resource.PayMode_POST_PAY,
		"按量计费":             resource.PayMode_POST_PAY,
		"riPay":            resource.PayMode_RESERVED_PAY,
	}
)

Functions

func PrasePayMode

func PrasePayMode(s string) resource.PayMode

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL