baseUrl = https://aceword.yicp.fun/
在header中需携带openid = openid
已完成
- 获取手机号,同时会更新userInfo中的手机号
GET /phone-num?code=【code】 - 获取openid
GET /openid?code=【code】 - 获取formDataList
GET /form-data-list
返回值:
[
{
"openid": "123",
"uuid": "b305f462-8297-488f-b8ad-8ffc429e6227",
"district": "区",
"middleSchool": "二中",
"hasHighSchoolQuota": true,
"estimatedScore": 123.0,
"middleSchoolRank": 12,
"includePrivateSchool": true,
"includeOuterDistrictSchool": true,
"includeNoRoomSchool": true,
"isCreateMode": null,
"updateDate": "2023-05-28 23:13:35"
}
]
- 插入一个formData
POST /form-data
data:
{
"district": "区",
"middleSchool": "二中",
"hasHighSchoolQuota": true,
"estimatedScore": 123,
"middleSchoolRank": 12,
"includePrivateSchool": true,
"includeOuterDistrictSchool": true,
"includeNoRoomSchool": true,
"isCreateMode": true
}
- 获取userInfo
GET /user-info
{
"openid": "123",
"phoneNum": "176858373711",
"district": "区",
"middleSchool": "二中",
"hasHighSchoolQuota": true,
"estimatedScore": 123.0,
"middleSchoolRank": 12,
"includePrivateSchool": true,
"includeOuterDistrictSchool": true,
"includeNoRoomSchool": true,
"createDate": "2023-05-28T14:53:39.000+00:00"
}
未完成
- 填写平行志愿
- 获取平行志愿列表
- 根据id,获取平行志愿详情
- 删除平行志愿
- 删除推荐志愿