feat: 添加获取当前用户积分余额的接口
This commit is contained in:
32
test_target_score.http
Normal file
32
test_target_score.http
Normal file
@@ -0,0 +1,32 @@
|
||||
### 获取目标点数接口测试
|
||||
|
||||
# 测试获取目标点数
|
||||
GET http://localhost:8080/api/link/target-score?codeNo=YOUR_CODE_NO_HERE
|
||||
Accept: application/json
|
||||
|
||||
###
|
||||
|
||||
# 示例:使用实际的codeNo测试
|
||||
# GET http://localhost:8080/api/link/target-score?codeNo=ABC123DEF456
|
||||
# Accept: application/json
|
||||
|
||||
###
|
||||
|
||||
# 响应格式示例:
|
||||
# 成功时:
|
||||
# {
|
||||
# "success": true,
|
||||
# "completedPoints": 13750,
|
||||
# "machineId": "device123",
|
||||
# "codeNo": "ABC123DEF456",
|
||||
# "errorMessage": null
|
||||
# }
|
||||
#
|
||||
# 失败时:
|
||||
# {
|
||||
# "success": false,
|
||||
# "completedPoints": null,
|
||||
# "machineId": "device123",
|
||||
# "codeNo": "ABC123DEF456",
|
||||
# "errorMessage": "网络繁忙,稍后再试"
|
||||
# }
|
||||
Reference in New Issue
Block a user