Explorar o código

wip:年终报告pdf增加职位id,删除打印

wangkaiyue %!s(int64=2) %!d(string=hai) anos
pai
achega
c3403570bd
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      core/proxy/broker/outServer/SussBi.go

+ 0 - 1
core/proxy/broker/outServer/SussBi.go

@@ -100,7 +100,6 @@ func (s *sussBi) Filter(r *ghttp.Request) error {
 			// 年终报告pdf增加职位id
 			if strings.HasPrefix(r.RequestURI, "/api/meta/services/convertFileToPDF") {
 				if newValues, err := url.ParseQuery(r.URL.RawQuery); err == nil && len(newValues) > 0 {
-					fmt.Println("b")
 					if _, ok := newValues["QUERY_PARAM_M_POSITION_ID"]; ok {
 						newValues["QUERY_PARAM_M_POSITION_ID"] = []string{fmt.Sprintf("%d", ctx.Sess.UserPositionId)}
 					}