重构交易处理逻辑,合并充值与购买流程,优化交易状态管理;更新相关数据结构和接口
This commit is contained in:
@@ -324,8 +324,10 @@ func (s *SftClient) sign(msg any) (*request, error) {
|
||||
return nil, fmt.Errorf("格式化加密正文失败:%w", err)
|
||||
}
|
||||
|
||||
pretty, _ := json.MarshalIndent(msg, "", " ")
|
||||
println("content:\n" + string(pretty) + "\n\n")
|
||||
if env.DebugHttpDump {
|
||||
pretty, _ := json.MarshalIndent(msg, "", " ")
|
||||
println("content:\n" + string(pretty) + "\n\n")
|
||||
}
|
||||
|
||||
body := request{
|
||||
AppId: s.appid,
|
||||
|
||||
Reference in New Issue
Block a user