Skip to content

Commit 00265f9

Browse files
committed
update logo
1 parent 34b1ddb commit 00265f9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

entry/src/main/ets/http/Axios.ets

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import promptAction from '@ohos.promptAction';
33

44
// 创建axios实例
55
export const instance = axios.create({
6-
baseURL: 'http://192.168.3.70:3000',
6+
baseURL: 'http://192.168.43.242:3000',
77
timeout: 1000
88
})
99

entry/src/main/ets/model/PostInfo.ets

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
@Observed
22
export class PostInfo {
3-
id: number;
3+
id: number; //打卡文案
44
postText: string;
5-
rightCount: number;
6-
answeredCount: number;
7-
timeUsed: number;
8-
createTime: string;
9-
likeCount: number;
10-
nickname: string;
11-
avatarUrl: string
12-
isLike: boolean;
5+
rightCount: number; //正确个数
6+
answeredCount: number; //答题个数
7+
timeUsed: number; //用时
8+
createTime: string; //打卡时间
9+
likeCount: number; //点赞个数
10+
nickname: string; //用户昵称
11+
avatarUrl: string //用户头像
12+
isLike: boolean; //当前登录用户是否已点赞
1313

1414
constructor(post:{id: number, postText: string, rightCount: number, answeredCount: number, timeUsed: number, createTime: string, likeCount: number, nickname: string, avatarUrl: string, isLike: boolean}) {
1515
this.id = post.id;

entry/src/main/module.json5

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"name": "EntryAbility",
1717
"srcEntry": "./ets/entryability/EntryAbility.ts",
1818
"description": "$string:EntryAbility_desc",
19-
"icon": "$media:ic_logo",
19+
"icon": "$media:ic_logo_n",
2020
"label": "$string:EntryAbility_label",
2121
"startWindowIcon": "$media:icon",
2222
"startWindowBackground": "$color:start_window_background",

0 commit comments

Comments
 (0)