Browse Source

修正校区缓存

icole 4 năm trước cách đây
mục cha
commit
4ec1492a46
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      internal/svc/cache_erp.go

+ 1 - 1
internal/svc/cache_erp.go

@@ -61,7 +61,7 @@ func (svc *ServiceContext) GetErpActivity(ctx context.Context) ([]*transform.Act
 		if err != nil {
 			return nil, err
 		}
-		err = svc.RdCli.SetWithExpire(cacheErpSchool, res.Active, time.Hour)
+		err = svc.RdCli.SetWithExpire(cacheErpActivity, res.Active, time.Hour)
 		if err != nil {
 			return nil, err
 		}