Browse Source

feat:xiugai

wangchuanjin 4 tháng trước cách đây
mục cha
commit
1b55da39c8

+ 2 - 2
src/jfw/modules/subscribepay/src/service/bidCreditReport.go

@@ -48,7 +48,7 @@ func (this *BidCreditReport) EntSearch() {
 func (this *BidCreditReport) GetReport() {
 	adminIdArr := g.Cfg().MustGet(context.TODO(), "bidCreditReport.adminIds").Strings()
 	fool := true
-	userId, _ := this.GetSession("userId").(string)
+	userId, _ := this.GetSession("mgoUserId").(string)
 	for _, adminId := range adminIdArr {
 		if userId == adminId {
 			fool = false
@@ -82,7 +82,7 @@ func (this *BidCreditReport) GetReport() {
 func (this *BidCreditReport) UpdateReport() {
 	adminIdArr := g.Cfg().MustGet(context.TODO(), "bidCreditReport.adminIds").Strings()
 	fool := true
-	userId, _ := this.GetSession("userId").(string)
+	userId, _ := this.GetSession("mgoUserId").(string)
 	for _, adminId := range adminIdArr {
 		if userId == adminId {
 			fool = false