Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 5d1f390f
由
cgx
编写于
2022-05-31 16:17:24 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
我的睡眠报告和我的睡眠评测URL
1 个父辈
5f1770e0
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
3 行删除
DreamSleep/DreamSleep/Basement/Utils/ServerAPIUtil.h
DreamSleep/DreamSleep/Class/ProfileModule/Me/ProfileController.m
DreamSleep/DreamSleep/Basement/Utils/ServerAPIUtil.h
查看文件 @
5d1f390
...
@@ -13,11 +13,14 @@
...
@@ -13,11 +13,14 @@
#define APIURL [ServerURL stringByAppendingPathComponent:@"sleepiql"]
#define APIURL [ServerURL stringByAppendingPathComponent:@"sleepiql"]
// AI睡眠教练接口地址
// AI睡眠教练接口地址
#define AICoachURL [ServerURL stringByAppendingPathComponent:@"sleep/ai/sleep_aicocah"]
#define AICoachURL [ServerURL stringByAppendingPathComponent:@"sleep/ai/sleep_aicocah"]
// 我的睡眠报告地址
#define MySleepReportURL [ServerURL stringByAppendingPathComponent:@"sleep/ssmian/sleep_diary?step=10"]
// 我的睡眠评测
#define MySleepReviewURL [ServerURL stringByAppendingPathComponent:@"sleep/ssmian/history_report?type_id=101&step=10"]
NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_BEGIN
@interface
ServerAPIUtil
:
NSObject
@interface
ServerAPIUtil
:
NSObject
@end
@end
NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_END
DreamSleep/DreamSleep/Class/ProfileModule/Me/ProfileController.m
查看文件 @
5d1f390
...
@@ -112,12 +112,12 @@
...
@@ -112,12 +112,12 @@
break
;
break
;
case
4
:
// 我的睡眠报告
case
4
:
// 我的睡眠报告
{
{
[
self
.
navigationController
pushViewController
:[[
DsWebController
alloc
]
initWithLink
:
MySleepReportURL
isShowNavi
:
YES
]
animated
:
YES
];
}
}
break
;
break
;
case
5
:
// 我的睡眠评测
case
5
:
// 我的睡眠评测
{
{
[
self
.
navigationController
pushViewController
:[[
DsWebController
alloc
]
initWithLink
:
MySleepReviewURL
isShowNavi
:
YES
]
animated
:
YES
];
}
}
break
;
break
;
default
:
default
:
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论