1234567891011121314151617181920212223242526 |
- //
- // PFTokenManager.m
- // PublicFund
- //
- // Created by kuxuan on 2018/1/4.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "PFTokenManager.h"
- @implementation PFTokenManager
- + (void)requestTid:(NSString *)tid Token:(void(^)(NSString *getToken,NSString *returnUrl,NSString *requestUrl))returnToken{
- NSString *urlString = [NSString stringWithFormat:@"https://api.security.726p.com/api/token/getToken"];
-
- // [PFHTTP post:urlString params:@{@"tid":tid} success:^(id json) {
- // if (json[@"token"]) {
- // returnToken(json[@"token"],json[@"returnUrl"],json[@"requestUrl"]);
- // }
- // } failure:^(NSError *error) {
- //
- // }];
- }
- @end
|