소스 검색

字段名修改

WH01243 1 년 전
부모
커밋
e0ce29a88b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      api/internal/service/infoService.go

+ 2 - 2
api/internal/service/infoService.go

@@ -21,8 +21,8 @@ func (l *InfoService) Myinfo(sid string) map[string]interface{} {
 			"entRole":      RsaEncrypt([]byte(common.InterfaceToStr(info_m["entRole"]))),
 			"entNicheDis":  RsaEncrypt([]byte(common.InterfaceToStr(info_m["entNicheDis"]))),
 			"positionId":   RsaEncrypt([]byte(common.InterfaceToStr(info_m["positionId"]))),
-			"accountId":    RsaEncrypt([]byte(common.InterfaceToStr(info_m["s_nickname"]))),
-			"entAccountId": RsaEncrypt([]byte(common.InterfaceToStr(info_m["s_nickname"]))),
+			"accountId":    RsaEncrypt([]byte(common.InterfaceToStr(info_m["accountId"]))),
+			"entAccountId": RsaEncrypt([]byte(common.InterfaceToStr(info_m["entAccountId"]))),
 			"entId":        RsaEncrypt([]byte(common.InterfaceToStr(info_m["entId"]))),
 			"entName":      RsaEncrypt([]byte(common.InterfaceToStr(info_m["entName"]))),
 			"entUserName":  RsaEncrypt([]byte(common.InterfaceToStr(info_m["entUserName"]))),