提交 6750a2bd authored 作者: zhanglibo's avatar zhanglibo

修改日志

上级 fe5073a4
...@@ -9,6 +9,7 @@ import ( ...@@ -9,6 +9,7 @@ import (
"github.com/gogf/gf/encoding/gjson" "github.com/gogf/gf/encoding/gjson"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/frame/g"
"github.com/gogf/gf/os/gtime" "github.com/gogf/gf/os/gtime"
"github.com/gogf/gf/text/gregex"
"github.com/gogf/gf/util/gconv" "github.com/gogf/gf/util/gconv"
"github.com/gogf/gf/util/grand" "github.com/gogf/gf/util/grand"
"sort" "sort"
...@@ -63,7 +64,7 @@ func (c *Config) Post(ctx context.Context, api string, bodyMap g.Map) (result st ...@@ -63,7 +64,7 @@ func (c *Config) Post(ctx context.Context, api string, bodyMap g.Map) (result st
if nil != err { if nil != err {
return return
} }
result = response.ReadAllString() result, _ = gregex.ReplaceString(`\s`, "", response.ReadAllString())
return return
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论