소스 검색

feat:删除无用查询条件

zhangxinlei1996 2 년 전
부모
커밋
3dc31bafbf
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      service/power.go

+ 0 - 4
service/power.go

@@ -3,7 +3,6 @@ package service
 import (
 	"encoding/json"
 	"fmt"
-	"log"
 	"math/rand"
 	"strconv"
 	"strings"
@@ -201,9 +200,6 @@ func (this *PowerService) Power(userid string, baseUserId, accountId, entId, pos
 					"i_ent":    entId,
 					"i_userid": entnicheUserId,
 					"i_type":   1, //0:商机管理 1:超级订阅/大会员
-					"l_endtime": map[string]interface{}{
-						"$gt": time.Now().Unix(),
-					},
 				})
 				eudata, _ := this.Conn.MgoJy.FindOne("ent_user", map[string]interface{}{
 					"i_entid":  entId,