add .gitignore

This commit is contained in:
JoyWayer
2023-12-27 20:38:37 +08:00
parent b106a628a5
commit f6343426d6
515 changed files with 104217 additions and 199 deletions

View File

@@ -0,0 +1,56 @@
//
// Gateway.m
// PublicFuncClass
//
// Created by an chen on 12-8-30.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "SGGateway.h"
#import "SGGatewayApi.h"
#import "SGDefineInfo.h"
@implementation SGGateway
static SGGateway* _instanceGateway = nil;
/*
*
*/
+(SGGateway*)defaultGateway
{
if( _instanceGateway == nil )
_instanceGateway = [[SGGateway alloc] init];
return _instanceGateway;
}
/*
* :
*
* mv:
*
* returnFunc:
*
* obj_do: mv
*
* param_post:
*
* str: url
*
*/
-(void)gateway:(id)mv func:(SEL)returnFunc
obj:(NSMutableDictionary*)obj_do obj_post:(NSMutableDictionary*)param_post STR:(NSString*)str HTTPMethod:(NSString*)_method
{
SGGatewayApi* api = [[SGGatewayApi alloc] init];
[api gateway:mv func:returnFunc obj_post:obj_do obj_post:param_post STR:str HTTPMethod:_method];
SG_RELEASE(api);
}
//使
/*
NSMutableDictionary* obj_do = [[NSMutableDictionary alloc] init];
NSMutableDictionary* obj_post = [[NSMutableDictionary alloc] init];
[obj_post setObject:@"123" forKey:@"i"];
[obj_post setObject:@"get_group_pic" forKey:@"t"];
[[SGGateway defaultGateway] gateway:self func:@selector(ReturnInfo:) obj:obj_do obj_post:obj_post STR:@"" HTTPMethod:@"Get"];//POST
-(void)ReturnInfo:(NSMutableDictionary*)obj_do
{
}
*/
@end