实现批次检查接口 & 修复白银接口 url 二次编码问题
This commit is contained in:
@@ -19,7 +19,6 @@ type Err struct {
|
||||
func (e *Err) Error() string {
|
||||
if e.err != nil {
|
||||
slog.Debug(fmt.Sprintf("%s: %s", e.msg, e.err.Error()))
|
||||
return e.msg
|
||||
}
|
||||
return e.msg
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ func Query(in any) url.Values {
|
||||
|
||||
switch value := value.Interface().(type) {
|
||||
case string:
|
||||
out.Add(name, url.QueryEscape(value))
|
||||
out.Add(name, value)
|
||||
case int:
|
||||
out.Add(name, strconv.Itoa(value))
|
||||
case bool:
|
||||
|
||||
Reference in New Issue
Block a user