|
@@ -225,7 +225,6 @@ func (a *Activemanage) Addredis() error {
|
|
|
func (a *Activemanage) Luckdraw(activecode, id string) error {
|
|
|
nowdate := time.Now()
|
|
|
enddate := LuckDraw.EndDate
|
|
|
- fmt.Println("nowdate.Day():", nowdate.Day())
|
|
|
if nowdate.Unix() > enddate {
|
|
|
a.T["flog"] = "G"
|
|
|
a.T["msg"] = " 抱歉,来晚了,活动已经结束了!敬请期待下一次活动吧,注意看预告呦……"
|