|
@@ -863,7 +863,7 @@ func (this *DataExport) GetPcEntAuth() {
|
|
|
isNew = true
|
|
|
}
|
|
|
entnicheMenu = true
|
|
|
- }
|
|
|
+ }
|
|
|
break
|
|
|
}
|
|
|
}
|
|
@@ -873,7 +873,7 @@ func (this *DataExport) GetPcEntAuth() {
|
|
|
if user != nil && len(*user) > 0 {
|
|
|
for _, v := range *user {
|
|
|
if pcUsers[util.IntAll(v["ent_id"])] {
|
|
|
- ents := public.Mysql.SelectBySql("select status,id,createtime,isNew from entniche_info where id=? ", util.IntAll(v["ent_id"]))
|
|
|
+ ents := public.Mysql.SelectBySql("select status,id,createtime,isNew from entniche_info where id=? ORDER BY power desc", util.IntAll(v["ent_id"]))
|
|
|
if ents != nil && len(*ents) != 0 {
|
|
|
for _, vv := range *ents {
|
|
|
if util.IntAll(vv["status"]) == 1 {
|