Browse Source

const+

master
LinskRuis.32 5 years ago
parent
commit
49ebd40fa3
  1. 7
      core/comm/const.go

7
core/comm/const.go

@ -11,4 +11,9 @@ const (
TimeFmtpck = "2006-01-02T15:04:05.999999999Z"
)
var REG_Phone = regexp.MustCompile(`^([0-9]{0,3})[1][3,4,5,7,8,9][0-9]{9}$`)
var (
AppName = "一点通教学网"
REG_Host = regexp.MustCompile(`((\w+\.)*)((jzdisk\.)\w+)(:\d+)?`)
REG_Hosts = regexp.MustCompile(`https?://((\w+\.)*)((1ydt\.)\w+)(:\d+)?`)
REG_Phone = regexp.MustCompile(`^([0-9]{0,3})[1][3,4,5,7,8,9][0-9]{9}$`)
)
Loading…
Cancel
Save