add files apis
This commit is contained in:
@@ -41,6 +41,9 @@ UD_SYNC
|
||||
|
||||
//app 挂起
|
||||
#define kLOCALNotifiID_APPTERMINAL @"GIGALocalNotificationAppTerminal"
|
||||
//注册成功
|
||||
#define kUserRegistSucccess @"userRegistSuccess"
|
||||
|
||||
//微信登陆授权成功
|
||||
#define kWeiXinAuthrization_Success @"WXAuthSuccess"
|
||||
#define WXin_APPID @"wx1fa33defa5cbc8dd"
|
||||
@@ -75,5 +78,6 @@ alpha:((float)(rgbValue & 0xFF))/255.0]
|
||||
#define textFontWeightSize(X,W) [UIFont systemFontOfSize:X *([UIScreen mainScreen].bounds.size.width / 320.0) weight:W]
|
||||
|
||||
#define GIGA_ShowToast(__toast__) [self.view makeToast:(__toast__) duration:1.5 position:CSToastPositionCenter];
|
||||
#define GIGA_WIndowTost(__toast__) [[UIApplication sharedApplication].keyWindow makeToast:(__toast__) duration:1.5 position:CSToastPositionCenter];
|
||||
|
||||
#endif /* GIGA_h */
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
case 0://测试环境
|
||||
{
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] setValue:@"https://" forKey:@"MainUrl"];
|
||||
[[NSUserDefaults standardUserDefaults] setValue:@"http://apiyts.s1.natapp.cc/v1/" forKey:@"MainUrl"];
|
||||
} break;
|
||||
case 1: //生产环境
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user