~~~
NSData * data = error.userInfo[@"com.alamofire.serialization.response.error.data"];
NSString * str = [[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];
NSLog(@"服务器的错误原因:%@",str);
~~~
~~~
NSData * data = error.userInfo[@"com.alamofire.serialization.response.error.data"];
NSString * str = [[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];
NSLog(@"服务器的错误原因:%@",str);
~~~
本文标题:IOS 和springBoot 交互出现500
本文链接:https://www.haomeiwen.com/subject/aqbfvltx.html
网友评论