fix: 优化配置和API处理逻辑
This commit is contained in:
parent
59a7d1c7a5
commit
531facbb07
|
|
@ -4,13 +4,14 @@ import (
|
|||
"ai_scheduler/internal/pkg"
|
||||
"ai_scheduler/internal/pkg/l_request"
|
||||
"ai_scheduler/internal/pkg/util"
|
||||
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
||||
"strings"
|
||||
|
||||
"github.com/go-kratos/kratos/v2/log"
|
||||
)
|
||||
|
||||
type StatisOursProductLossSumReq struct {
|
||||
|
|
@ -252,6 +253,7 @@ func GetManagerAndDefaultLossReasonApi(param *GetManagerAndDefaultLossReasonRequ
|
|||
"Authorization": fmt.Sprintf("Bearer %s", token),
|
||||
},
|
||||
}
|
||||
log.Debug(pkg.JsonStringIgonErr(req.Headers))
|
||||
res, err := req.Send()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in New Issue