Skip to content

Commit dc5c353

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents d054d3f + c33fa49 commit dc5c353

File tree

3 files changed

+49
-6
lines changed

3 files changed

+49
-6
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
env:
1616
NODE_VERSION: '16'
17-
QCLOUD_BUCKET: 'open-docs-1258813882'
17+
QCLOUD_HDUHELP_BUCKET: open-docs-1307730341
1818

1919
steps:
2020
- uses: actions/checkout@v3
@@ -36,13 +36,13 @@ jobs:
3636
- name: Build documentation site
3737
run: pnpm docs:release
3838

39-
- name: Deploy to Tencent COS
39+
- name: Deploy to HDUHELP Tencent COS
4040
env:
41-
SECRET_ID: ${{ secrets.OPEN_DOCS_QCLOUD_KEY }}
42-
SECRET_KEY: ${{ secrets.OPEN_DOCS_QCLOUD_SECRET }}
43-
BUCKET: ${{ env.QCLOUD_BUCKET }}
41+
SECRET_ID: ${{ secrets.QCLOUD_HDUHELP_PUBLIC_KEY }}
42+
SECRET_KEY: ${{ secrets.QCLOUD_HDUHELP_PUBLIC_SECRET }}
43+
BUCKET: ${{ env.QCLOUD_HDUHELP_BUCKET }}
4444
REGION: ap-shanghai
4545
run: |
4646
sudo pip install coscmd
4747
coscmd config -a ${SECRET_ID} -s ${SECRET_KEY} -b ${BUCKET} -e cos.accelerate.myqcloud.com
48-
coscmd upload -rs docs/.vuepress/dist/ /docs/
48+
coscmd upload -rs docs/.vuepress/dist/ /docs/

docs/.vuepress/configs/sidebar/zh.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const sidebarZh: SidebarConfig = {
2727
'/develop/teaching/student-info.md',
2828
'/develop/teaching/schedule-now.md',
2929
'/develop/teaching/schedule.md',
30+
'/develop/teaching/scholarship.md',
3031
],
3132
},
3233
{
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# 获取奖学金
2+
3+
### 接口
4+
5+
GET `https://api.hduhelp.com/salmon_base/student/reward`
6+
7+
### 功能描述
8+
9+
用于获取学生奖学金信息。
10+
11+
### Content-Type
12+
13+
`application/json`
14+
15+
### 返回字段
16+
17+
| 字段名 | 类型 | 描述 |
18+
| ----------- | ------ | ---------- |
19+
| staffID | string | 学号 |
20+
| staffName | string | 姓名 |
21+
| rewardName | string | 奖学金名称 |
22+
| schoolYear | string | 获奖年份 |
23+
| semester | string | 获奖学期 |
24+
| rewardLevel | string | 获奖级别 |
25+
26+
### 示例
27+
```json
28+
{
29+
"error": 0,
30+
"msg": "success",
31+
"data": [
32+
{
33+
"staffID": "21000001",
34+
"staffName": "张三",
35+
"rewardName": "二等奖学金",
36+
"schoolYear": "2021",
37+
"semester": "第一学期",
38+
"rewardLevel": "校级"
39+
}
40+
]
41+
}
42+
```

0 commit comments

Comments
 (0)