|
@@ -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)}
|
|
|
}
|