Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0cd0cab4
由
cgx
编写于
2022-04-29 18:07:35 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
禁用屏幕横屏,优化请求错误弹框加载
1 个父辈
fb43f8b8
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
9 行增加
和
8 行删除
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
DreamSleep/DreamSleep/Basement/Network/DSNetworkTool.m
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
查看文件 @
0cd0cab
...
@@ -1648,7 +1648,7 @@
...
@@ -1648,7 +1648,7 @@
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone =
"UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone =
UIInterfaceOrientationPortrait
;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"$(inherited)",
...
@@ -1661,7 +1661,7 @@
...
@@ -1661,7 +1661,7 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/QQ",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/QQ",
);
);
MARKETING_VERSION = 1.1.
3
;
MARKETING_VERSION = 1.1.
2
;
ONLY_ACTIVE_ARCH = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
OTHER_LDFLAGS = (
"$(inherited)",
"$(inherited)",
...
@@ -1702,7 +1702,7 @@
...
@@ -1702,7 +1702,7 @@
GENERATE_INFOPLIST_FILE = YES;
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = "$(inherited)/**";
HEADER_SEARCH_PATHS = "$(inherited)/**";
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "小梦睡眠";
INFOPLIST_KEY_CFBundleDisplayName = "小梦睡眠
-Dev
";
INFOPLIST_KEY_NSCameraUsageDescription = "APP需要您的同意,才能使用摄像头,以便于相机拍摄,上传";
INFOPLIST_KEY_NSCameraUsageDescription = "APP需要您的同意,才能使用摄像头,以便于相机拍摄,上传";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息";
...
@@ -1714,7 +1714,7 @@
...
@@ -1714,7 +1714,7 @@
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone =
"UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone =
UIInterfaceOrientationPortrait
;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"$(inherited)",
...
@@ -1727,7 +1727,7 @@
...
@@ -1727,7 +1727,7 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/QQ",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/QQ",
);
);
MARKETING_VERSION = 1.1.
3
;
MARKETING_VERSION = 1.1.
2
;
ONLY_ACTIVE_ARCH = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
OTHER_LDFLAGS = (
"$(inherited)",
"$(inherited)",
...
@@ -1828,7 +1828,7 @@
...
@@ -1828,7 +1828,7 @@
GENERATE_INFOPLIST_FILE = YES;
GENERATE_INFOPLIST_FILE = YES;
HEADER_SEARCH_PATHS = "$(inherited)/**";
HEADER_SEARCH_PATHS = "$(inherited)/**";
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_FILE = DreamSleep/Basement/DSConfig/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "小梦睡眠-
Beta
";
INFOPLIST_KEY_CFBundleDisplayName = "小梦睡眠-
Dev
";
INFOPLIST_KEY_NSCameraUsageDescription = "APP需要您的同意,才能使用摄像头,以便于相机拍摄,上传";
INFOPLIST_KEY_NSCameraUsageDescription = "APP需要您的同意,才能使用摄像头,以便于相机拍摄,上传";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息";
INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "APP需要您的同意,才能访问位置信息";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息";
INFOPLIST_KEY_NSLocationAlwaysUsageDescription = "APP需要您的同意,才能始终访问位置信息";
...
@@ -1840,7 +1840,7 @@
...
@@ -1840,7 +1840,7 @@
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UIStatusBarHidden = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone =
"UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"
;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone =
UIInterfaceOrientationPortrait
;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = (
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"$(inherited)",
...
@@ -1853,7 +1853,7 @@
...
@@ -1853,7 +1853,7 @@
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/WeChat/WechatSDK",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/QQ",
"$(PROJECT_DIR)/DreamSleep/Vendors/UMSocial_6.10.4/SocialLibraries/QQ",
);
);
MARKETING_VERSION = 1.1.
3
;
MARKETING_VERSION = 1.1.
2
;
ONLY_ACTIVE_ARCH = YES;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
OTHER_LDFLAGS = (
"$(inherited)",
"$(inherited)",
...
...
DreamSleep/DreamSleep/Basement/Network/DSNetworkTool.m
查看文件 @
0cd0cab
...
@@ -122,6 +122,7 @@ NSString * const NetworkUnableError = @"网络不给力,请检查您的网络
...
@@ -122,6 +122,7 @@ NSString * const NetworkUnableError = @"网络不给力,请检查您的网络
if
([
apiDataDic
[
@"res_code"
]
intValue
]
==
DSResCodeSuccess
)
{
if
([
apiDataDic
[
@"res_code"
]
intValue
]
==
DSResCodeSuccess
)
{
success
(
apiDataDic
);
success
(
apiDataDic
);
}
else
{
}
else
{
failure
(
apiDataDic
[
@"error"
]);
[
DSProgressHUD
showToast
:
apiDataDic
[
@"error"
]];
[
DSProgressHUD
showToast
:
apiDataDic
[
@"error"
]];
return
;
return
;
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论