1
This commit is contained in:
@@ -1,5 +1,41 @@
|
||||
package model
|
||||
|
||||
var NumberVoiceMap map[string]int
|
||||
|
||||
func init() {
|
||||
NumberVoiceMap = map[string]int{
|
||||
"0": ZeroVoice,
|
||||
"1": OneVoice,
|
||||
"2": TwoVoice,
|
||||
"3": ThreeVoice,
|
||||
"4": FourVoice,
|
||||
"5": FiveVoice,
|
||||
"6": SixVoice,
|
||||
"7": SevenVoice,
|
||||
"8": EightyVoice,
|
||||
"9": NineVoice,
|
||||
"10": TenVoice,
|
||||
"20": TwentyVoice,
|
||||
"30": ThirtyVoice,
|
||||
"40": FortyVoice,
|
||||
"50": FiftyVoice,
|
||||
"60": SixtyVoice,
|
||||
"70": SeventyVoice,
|
||||
"80": EightyVoice,
|
||||
"90": NinetyVoice,
|
||||
"100": OneHundredVoice,
|
||||
"200": TwoHundredVoice,
|
||||
"300": ThereHundredVoice,
|
||||
"400": FourHundredVoice,
|
||||
"500": FiveHundredVoice,
|
||||
"600": SixHundredVoice,
|
||||
"700": SeventyHundredVoice,
|
||||
"800": EightHundredVoice,
|
||||
"900": NineHundredVoice,
|
||||
"1000": OneThousandVoice,
|
||||
}
|
||||
}
|
||||
|
||||
// 语音常量
|
||||
const (
|
||||
WeComeJXPrintVoice = 1 //. 欢迎使用京西云打印机.mp3
|
||||
|
||||
Reference in New Issue
Block a user