You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
2.0 KiB
90 lines
2.0 KiB
package define
|
|
|
|
import "time"
|
|
|
|
const TimeFormat = "2006-01-01 15:04:05"
|
|
|
|
const (
|
|
MODULE_SIGNIN = "签到"
|
|
MODULE_TUGWAR = "拔河"
|
|
MODULE_SHAKRB = "摇红包"
|
|
MODULE_SHAKETK = "摇奖券"
|
|
MODULE_ORDER = "订单"
|
|
MODULE_UPPERW = "上墙"
|
|
MODULE_BULLYS = "霸屏"
|
|
MODULE_LOTTERY = "抽奖"
|
|
MODULE_VOTE = "投票"
|
|
MODULE_AUCTION = "竞拍"
|
|
MODULE_REWARD = "打赏"
|
|
MODULE_SEMINAR = "会务"
|
|
MODULE_MOREAREA = "多地区"
|
|
MODULE_BARRAGE = "弹幕"
|
|
MODULE_INVITATION = "邀请函"
|
|
MODULE_ORDERLY = "订单抽奖"
|
|
MODULE_MSGWALL = "消息墙"
|
|
MODULE_CALORIE = "卡路里"
|
|
)
|
|
|
|
const (
|
|
StatusNotBegin = "未开始"
|
|
StatusReady = "准备中"
|
|
StatusRunning = "进行中"
|
|
StatusEnding = "已结束"
|
|
StatusOpen = "开启"
|
|
StatusClose = "关闭"
|
|
)
|
|
|
|
const (
|
|
INCR_AUCTION = "加价竞拍"
|
|
DECR_AUCTION = "减价竞拍"
|
|
)
|
|
|
|
const (
|
|
TUGWAR_MODEL_RANDOM = "随机分配模式"
|
|
TUGWAR_MODEL_SELECT = "大屏幕二维码模式"
|
|
TUGWAR_TEAM_BULE = "blue"
|
|
TUGWAR_TEAM_RED = "red"
|
|
)
|
|
|
|
const (
|
|
SHAKERB_RULE_RANDOM = "拼手气红包"
|
|
SHAKERB_RULE_COMMON = "普通红包"
|
|
SHAKERB_RULE_LADDER = "阶梯红包"
|
|
)
|
|
|
|
// 模块去除 BesideRepeat
|
|
const MODULE_BESIDE_REPEAT = "去除"
|
|
|
|
const (
|
|
TOKEN = "token"
|
|
)
|
|
|
|
const (
|
|
WSSENDURL = "https://api.ouxuanhudong.com:20182/PcClient/Handle/MessageCtl/Receive"
|
|
HOST = "https://api.ouxuanhudong.com"
|
|
H5Host = "https://h5.ouxuanhudong.com/web"
|
|
)
|
|
|
|
const (
|
|
H5Index = "index.html"
|
|
H5SignIn = "SignIn.html"
|
|
H5ShakeRb = "shakeRb.html"
|
|
H5TugOfWar = "tugOfWar.html"
|
|
H5UpperWall = "UpperWall.html"
|
|
H5Barrage = "barrage.html"
|
|
H5Order = "order.html"
|
|
H5Reward = "reward.html"
|
|
H5BScreen = "bScreen.html"
|
|
H5Auction = "auction.html"
|
|
H5Vote = "vote.html"
|
|
H5Calorie = "calorie.html"
|
|
)
|
|
|
|
const (
|
|
TYPE_H5USER = "h5user"
|
|
TYPE_CUSTOMER = "customer"
|
|
TYPE_ENTRYPEOPLE = "entry_people"
|
|
)
|
|
|
|
var DefaultTime = time.Date(1970, 1, 1, 8, 0, 0, 0, time.Local)
|
|
var DefaultOrderNo = 10000000000
|