• haoyanbin's avatar
    1 · 9bf9e037
    haoyanbin authored
    9bf9e037
const.go 1.2 KB
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: "退卡",
}