1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package common
const (
// WXAppID wx app id
//WXAppID = "wx6ff40a576e2f4ca0"
WXAppID = "wxdaba08b26729c256"
// WxSecret wx app 秘钥
//WxSecret = "6756d3f0b6b052dab40beb78bc89291d"
WxSecret = "3e35921309974c2ca34267daa7cae6b3"
// SmsKey 发送短信 key
SmsKey = `1000000001`
// SMSSecret 发送短信秘钥
SMSSecret = `dbc_saas_pc`
// SendSmsURL 发送短信 url
SendSmsURL = `http://saas.pet-dbc.cn:8003/gateway/hospital/wx/send_code`
// CheckSmsURL 校验短信 url
CheckSmsURL = `http://saas.pet-dbc.cn:8003/gateway/hospital/wx/check_code`
)
// code 表名 table name
// code 标识名 Identification
const (
// PetTable 宠物
PetTable string = "his_pet"
// PetTag tag
PetTag string = "P"
// EmployeeTable 员工
EmployeeTable string = "con_employee"
// EmployeeTag tag
EmployeeTag string = "NO"
// OutChargeTable 支出
OutChargeTable string = "c_outcharge"
// OutChargeTag tag
OutChargeTag string = "ZC"
)
var CardType = map[int]string{
1: "发卡",
2: "变更",
3: "充值",
4: "赠额充值",
5: "消费",
6: "赠额消费",
7: "退款",
8: "赠额退款",
9: "取消结算",
10: "赠额取消结算",
11: "取消退款",
12: "赠额取消退款",
13: "退卡",
}