|
@@ -4,6 +4,7 @@ import (
|
|
|
"context"
|
|
|
"encoding/json"
|
|
|
"errors"
|
|
|
+ "fmt"
|
|
|
"github.com/gogf/gf/encoding/gjson"
|
|
|
"sparrow/pkg/productconfig"
|
|
|
"sparrow/pkg/rpcs"
|
|
@@ -430,7 +431,7 @@ func SubmitSceneTask(req *http.Request, r render.Render) {
|
|
|
r.JSON(http.StatusOK, renderError(ErrWrongRequestFormat, err))
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+ fmt.Println("---------------------------")
|
|
|
reply := rpcs.ReplySubmitTask{}
|
|
|
err = server.RPCCallByName(nil, rpcs.SceneAccessServiceName, "SceneService.SubmitTask", ruleReq, reply)
|
|
|
if err != nil {
|