Commit 151404cf authored by David黄金龙's avatar David黄金龙

打印 参数

parent 776dbe11
......@@ -190,10 +190,12 @@ class YHNetRequest: NSObject {
httpRequest?.responseString(completionHandler: { string in
#if DEBUG
print("================================begin")
print("网络请求接口\n" + (self.url ?? ""))
print("网络请求头数据如下\n")
print("网络请求接口:\n" + (self.url ?? ""))
print("网络请求头数据如下:")
print(requestHeaders)
print("网络请求返回数据\n \(string)")
print("业务参数:")
print(self.params as Any)
print("网络请求返回数据:\n \(string)")
print("********************************end")
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment