去除alipay
This commit is contained in:
parent
99b498c850
commit
22673fef3d
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
/* Begin PBXBuildFile section */
|
||||
18C54F1A2350541500DF4E7D /* AlibabaAuthSDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 18C54F052350541400DF4E7D /* AlibabaAuthSDK.bundle */; };
|
||||
18C54F1B2350541500DF4E7D /* AlipaySDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 18C54F062350541400DF4E7D /* AlipaySDK.bundle */; };
|
||||
18C54F1C2350541500DF4E7D /* ALPLinkPartnerSDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 18C54F072350541400DF4E7D /* ALPLinkPartnerSDK.bundle */; };
|
||||
18C54F1D2350541500DF4E7D /* NBResource.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 18C54F082350541400DF4E7D /* NBResource.bundle */; };
|
||||
18C54F1E2350541500DF4E7D /* yw_1222.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 18C54F092350541400DF4E7D /* yw_1222.jpg */; };
|
||||
|
|
@ -2675,7 +2674,6 @@
|
|||
|
||||
/* Begin PBXFileReference section */
|
||||
18C54F052350541400DF4E7D /* AlibabaAuthSDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = AlibabaAuthSDK.bundle; sourceTree = "<group>"; };
|
||||
18C54F062350541400DF4E7D /* AlipaySDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = AlipaySDK.bundle; sourceTree = "<group>"; };
|
||||
18C54F072350541400DF4E7D /* ALPLinkPartnerSDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = ALPLinkPartnerSDK.bundle; sourceTree = "<group>"; };
|
||||
18C54F082350541400DF4E7D /* NBResource.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = NBResource.bundle; sourceTree = "<group>"; };
|
||||
18C54F092350541400DF4E7D /* yw_1222.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = yw_1222.jpg; sourceTree = "<group>"; };
|
||||
|
|
@ -6259,7 +6257,6 @@
|
|||
isa = PBXGroup;
|
||||
children = (
|
||||
18C54F052350541400DF4E7D /* AlibabaAuthSDK.bundle */,
|
||||
18C54F062350541400DF4E7D /* AlipaySDK.bundle */,
|
||||
18C54F072350541400DF4E7D /* ALPLinkPartnerSDK.bundle */,
|
||||
18C54F082350541400DF4E7D /* NBResource.bundle */,
|
||||
);
|
||||
|
|
@ -14436,7 +14433,6 @@
|
|||
8871C4A01E6D507B000AA49F /* signin_condition_gift_achieve@2x.png in Resources */,
|
||||
882956FC1DBDA3A300E9DDD7 /* JiaReBang_on.png in Resources */,
|
||||
E5F1B03C21183E9700A879A1 /* setting-restart@2x.png in Resources */,
|
||||
18C54F1B2350541500DF4E7D /* AlipaySDK.bundle in Resources */,
|
||||
885FBDD21E4C0CB400E0D7D1 /* explore_iocn_look@3x.png in Resources */,
|
||||
880708021DE812040076F65A /* live_sharechat_iocn.png in Resources */,
|
||||
88613F751E5C1E86008D2C69 /* P2PShareViewFeedMessageCell.xib in Resources */,
|
||||
|
|
@ -15817,7 +15813,7 @@
|
|||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
CURRENT_PROJECT_VERSION = 2;
|
||||
DEVELOPMENT_TEAM = WFX8GD5HFX;
|
||||
ENABLE_BITCODE = NO;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
|
|
@ -15935,7 +15931,7 @@
|
|||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
CURRENT_PROJECT_VERSION = 2;
|
||||
DEVELOPMENT_TEAM = WFX8GD5HFX;
|
||||
ENABLE_BITCODE = NO;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,33 +0,0 @@
|
|||
//
|
||||
// APAuthInfo.h
|
||||
// AliSDKDemo
|
||||
//
|
||||
// Created by 方彬 on 14-7-18.
|
||||
// Copyright (c) 2014年 Alipay.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface APayAuthInfo : NSObject
|
||||
|
||||
@property(nonatomic, copy)NSString *appID;
|
||||
@property(nonatomic, copy)NSString *pid;
|
||||
@property(nonatomic, copy)NSString *redirectUri;
|
||||
|
||||
/**
|
||||
* 初始化AuthInfo
|
||||
*
|
||||
* @param appIDStr 应用ID
|
||||
* @param productIDStr 产品码 该商户在aboss签约的产品,用户获取pid获取的参数
|
||||
* @param pidStr 商户ID 可不填
|
||||
* @param uriStr 授权的应用回调地址 比如:alidemo://auth
|
||||
*
|
||||
* @return authinfo实例
|
||||
*/
|
||||
- (id)initWithAppID:(NSString *)appIDStr
|
||||
pid:(NSString *)pidStr
|
||||
redirectUri:(NSString *)uriStr;
|
||||
|
||||
- (NSString *)description;
|
||||
- (NSString *)wapDescription;
|
||||
@end
|
||||
|
|
@ -1,117 +0,0 @@
|
|||
//
|
||||
// AlipaySDK.h
|
||||
// AlipaySDK
|
||||
//
|
||||
// Created by 方彬 on 14-4-28.
|
||||
// Copyright (c) 2014年 Alipay. All rights reserved.
|
||||
//
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
////////////////version:2.1 motify:2014.12.24//////////
|
||||
///////////////////Merry Christmas=。=//////////////////
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#import "APayAuthInfo.h"
|
||||
|
||||
typedef void(^CompletionBlock)(NSDictionary *resultDic);
|
||||
|
||||
@interface AlipaySDK : NSObject<UIAlertViewDelegate>
|
||||
|
||||
/**
|
||||
* 创建支付单例服务
|
||||
*
|
||||
* @return 返回单例对象
|
||||
*/
|
||||
+ (AlipaySDK *)defaultService;
|
||||
|
||||
/**
|
||||
* 支付接口
|
||||
*
|
||||
* @param orderStr 订单信息
|
||||
* @param schemeStr 调用支付的app注册在info.plist中的scheme
|
||||
* @param compltionBlock 支付结果回调Block
|
||||
*/
|
||||
- (void)payOrder:(NSString *)orderStr
|
||||
fromScheme:(NSString *)schemeStr
|
||||
callback:(CompletionBlock)completionBlock;
|
||||
|
||||
/**
|
||||
* 处理钱包或者独立快捷app支付跳回商户app携带的支付结果Url
|
||||
*
|
||||
* @param resultUrl 支付结果url,传入后由SDK解析,统一在上面的pay方法的callback中回调
|
||||
* @param completionBlock 跳钱包支付结果回调,保证跳转钱包支付过程中,即使调用方app被系统kill时,能通过这个回调取到支付结果。
|
||||
*/
|
||||
- (void)processOrderWithPaymentResult:(NSURL *)resultUrl
|
||||
standbyCallback:(CompletionBlock)completionBlock;
|
||||
|
||||
/**
|
||||
* 是否已经使用过
|
||||
*
|
||||
* @return YES为已经使用过,NO反之
|
||||
*/
|
||||
- (BOOL)isLogined;
|
||||
|
||||
/**
|
||||
* 当前版本号
|
||||
*
|
||||
* @return 当前版本字符串
|
||||
*/
|
||||
- (NSString *)currentVersion;
|
||||
|
||||
/**
|
||||
* 測試所用,realse包无效
|
||||
*
|
||||
* @param url 测试环境
|
||||
*/
|
||||
- (void)setUrl:(NSString *)url;
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////授权1.0//////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* 快登授权
|
||||
* @param authInfo 需授权信息
|
||||
* @param completionBlock 授权结果回调
|
||||
*/
|
||||
- (void)authWithInfo:(APayAuthInfo *)authInfo
|
||||
callback:(CompletionBlock)completionBlock;
|
||||
|
||||
|
||||
/**
|
||||
* 处理授权信息Url
|
||||
*
|
||||
* @param resultUrl 钱包返回的授权结果url
|
||||
* @param completionBlock 跳授权结果回调,保证跳转钱包授权过程中,即使调用方app被系统kill时,能通过这个回调取到支付结果。
|
||||
*/
|
||||
- (void)processAuthResult:(NSURL *)resultUrl
|
||||
standbyCallback:(CompletionBlock)completionBlock;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////授权2.0//////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* 快登授权2.0
|
||||
*
|
||||
* @param infoStr 授权请求信息字符串
|
||||
* @param schemeStr 调用授权的app注册在info.plist中的scheme
|
||||
* @param completionBlock 授权结果回调
|
||||
*/
|
||||
- (void)auth_V2WithInfo:(NSString *)infoStr
|
||||
fromScheme:(NSString *)schemeStr
|
||||
callback:(CompletionBlock)completionBlock;
|
||||
|
||||
/**
|
||||
* 处理授权信息Url
|
||||
*
|
||||
* @param resultUrl 钱包返回的授权结果url
|
||||
* @param completionBlock 跳授权结果回调,保证跳转钱包授权过程中,即使调用方app被系统kill时,能通过这个回调取到支付结果。
|
||||
*/
|
||||
- (void)processAuth_V2Result:(NSURL *)resultUrl
|
||||
standbyCallback:(CompletionBlock)completionBlock;
|
||||
|
||||
@end
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1011 B |
Binary file not shown.
|
Before Width: | Height: | Size: 605 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 222 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue