Browse Source

Merge branch 'dev_v1.0.25_wh' of BaseService/biService into feature/v1.0.25

王浩 1 year ago
parent
commit
864b490f34
1 changed files with 1 additions and 2 deletions
  1. 1 2
      service/infoService.go

+ 1 - 2
service/infoService.go

@@ -35,9 +35,8 @@ func (l *InfoService) Myinfo(sid string) []byte {
 		//营销版本查询
 		accountId := gconv.Int64(info_m["accountId"])
 		entAccountId := gconv.Int64(info_m["entAccountId"])
-		entId := gconv.Int64(info_m["entId"])
 		entUserId := gconv.Int64(info_m["entUserId"])
-		res := entity.Middleground.ResourceCenter.Haspowers(accountId, entAccountId, entId, entUserId)
+		res := entity.Middleground.ResourceCenter.Haspowers(accountId, entAccountId, gconv.Int64(info_m["entId"]), entUserId)
 		version := "0"
 		for _, pCode := range res.Powers {
 			//0:通用版 1:物业专版