Compare commits

..

No commits in common. "5944345434a00206bc4c54efbe9661a040e97607" and "294e9e6326cbfce16bf7872e2f03eb89f15e0133" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -7,7 +7,7 @@ stages:
variables: variables:
ProjectPath: "mongo.games.com/game" ProjectPath: "mongo.games.com/game"
BetaBinPath: "/home/centos/deploy/" BetaBinPath: "/home/centos/game/"
DevelopBinPath: "/home/game/" DevelopBinPath: "/home/game/"
default: default:

View File

@ -144,10 +144,6 @@ func (l *LotteryData) GetRemainCode() int {
// 发奖 // 发奖
func (l *LotteryData) sendAward() { func (l *LotteryData) sendAward() {
if l.isDone {
return
}
now := time.Now() now := time.Now()
if l.WinTs <= 0 || l.WinTs >= now.Unix() || l.IsSend || l.WinCode == "" || l.SnId == 0 || now.Unix()-l.WinTs > 5*60 { if l.WinTs <= 0 || l.WinTs >= now.Unix() || l.IsSend || l.WinCode == "" || l.SnId == 0 || now.Unix()-l.WinTs > 5*60 {
return return