#define TOKEN @"Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhbm9ueW1vdXMiLCJjbGllbnQiOiJrdS1saW5rIiwiaXNzIjoiaHR0cDovL3qeYDHiLQ"
[manager.requestSerializer setValue:TOKEN forHTTPHeaderField:@"K-Authorization"];
#define TOKEN @"Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhbm9ueW1vdXMiLCJjbGllbnQiOiJrdS1saW5rIiwiaXNzIjoiaHR0cDovL3qeYDHiLQ"
[manager.requestSerializer setValue:TOKEN forHTTPHeaderField:@"K-Authorization"];
本文标题:ios 登录接口添加 token
本文链接:https://www.haomeiwen.com/subject/srbekftx.html
网友评论