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