Commit 85bf53ffd9a1221d9076321eb48f9e95a3ba0ab6

Authored by 陆恒
1 parent ce7b6895
Exists in master

提交

src/HttpServer/logic/function.go
... ... @@ -789,9 +789,10 @@ func GetdagongList(uuid int) (*WorkList,error) {
789 789 return nil,err
790 790 }
791 791  
  792 + //此处时间改为600s
792 793 nowtime := int(time.Now().Unix())
793 794 for i:=0;i<len(list);i++ {
794   - if nowtime > 4 * 3600 + list[i].InviteTime {
  795 + if nowtime > 600 + list[i].InviteTime {
795 796 list = append(list[:i],list[i+1:]...)
796 797 i--
797 798 }
... ...
src/HttpServer/logic/logic.go
... ... @@ -417,8 +417,6 @@ func HandleEnterInvite(w http.ResponseWriter, data string) {
417 417 }
418 418  
419 419  
420   -
421   -
422 420 if err != nil {
423 421 logger.Error("HandleEnterInvite ERROR_SRVDB_FAILED")
424 422 resp.Result.Code = ERROR_SRVDB_FAILED
... ...