Commit 5d1f390f cgx

我的睡眠报告和我的睡眠评测URL

1 个父辈 5f1770e0
...@@ -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
...@@ -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!