Pārlūkot izejas kodu

Merge branch 'release' into dev4.6.3.1

luwenna 3 gadi atpakaļ
vecāks
revīzija
7d74f8dbb6

+ 1 - 1
src/jfw/modules/publicapply/src/bidcollection/entity/entity.go

@@ -460,7 +460,7 @@ func Power(userid string) (bool, map[string]interface{}) {
 			if entInfo := *db.Mysql.SelectBySql(`SELECT status,isNew FROM entniche_info WHERE id  IN (SELECT ent_id FROM entniche_user where phone = ? and power =1)`, phone); len(entInfo) > 0 {
 				for _, v := range entInfo {
 					//&& qu.IntAll(v["isNew"]) == 1
-					if qu.IntAll(v["status"]) == 1 && qu.IntAll(v["isNew"]) == 1{
+					if qu.IntAll(v["status"]) == 1 {
 						isEnt = true
 						break
 					}