Skip to content

Commit

Permalink
open url log (#65)
Browse files Browse the repository at this point in the history
Co-authored-by: xinran chen <[email protected]>
  • Loading branch information
Lawliet-Chan and xinran chen committed Jun 25, 2023
1 parent 7938a79 commit 2be2c11
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/client/callchain/callchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ func CallChainByQry(reqtyp int, qcall *Rdcall) []byte {

u.RawQuery = q.Encode()

// logrus.Info("qcall: ", u.String())
logrus.Debug("qcall: ", u.String())

switch reqtyp {
case Http:
resp, err := http.Post(u.String(), "application/json", strings.NewReader(qcall.Params))
Expand Down Expand Up @@ -93,7 +94,7 @@ func CallChainByExec(reqType int, privkey PrivKey, pubkey PubKey, ecall *WrCall)

u.RawQuery = q.Encode()

// logrus.Info("ecall: ", u.String())
logrus.Debug("ecall: ", u.String())

switch reqType {
case Http:
Expand Down

0 comments on commit 2be2c11

Please sign in to comment.