|
|
@@ -56,7 +56,7 @@ class Lepao {
|
|
|
const reqData = { uid, token, school_id, student_id }
|
|
|
const recordUrl = this.runpy + '/get_record'
|
|
|
const recordRes = await axios.post(recordUrl, reqData)
|
|
|
- const { data } = recordRes
|
|
|
+ const { data } = recordRes.data
|
|
|
if (!data || data.status !== 1 || !data.data) {
|
|
|
this.logger.info('获取剩余跑步次数失败!')
|
|
|
console.log(data)
|