From 73b6baf6af3d88cdcb0e2df7932a9bd96b0b85c5 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 01 七月 2024 22:32:34 +0800
Subject: [PATCH] 月度统计出入库按类型汇总报表定时任务和手动跑任务接口

---
 opa/opa.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opa/opa.go b/opa/opa.go
index c7ad1b9..261370a 100644
--- a/opa/opa.go
+++ b/opa/opa.go
@@ -8,7 +8,7 @@
 
 func OpaCheck(ctx *gin.Context, input map[string]interface{}, query string) bool {
 	opa, err := rego.New(
-		rego.Load([]string{"opa/opatest.rego"}, nil),
+		rego.Load([]string{"conf/opatest.rego"}, nil),
 		rego.Query("data.opa."+query),
 	).PrepareForEval(ctx)
 	if err != nil {

--
Gitblit v1.8.0