|
@@ -1408,7 +1408,7 @@ func InitProjectId(appid string) {
|
|
|
func checkBidId(appid, id string, dataTable int) bool {
|
|
|
isOk := true
|
|
|
if dataTable == 1 {
|
|
|
- count := Mgo.Count(SaveUserMail, bson.M{"appid": appid, "id": id})
|
|
|
+ count := MgoCus.Count(SaveUserMail, bson.M{"appid": appid, "id": id})
|
|
|
if count > 0 {
|
|
|
log.Println("用户 ", appid, " 在 ", SaveUserMail, " 中找到重复公告id ", id)
|
|
|
isOk = false
|