From da0ec2c450b4bda45727cf1c7c809928f4bf9b38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Wed, 13 Mar 2024 09:34:34 +0800 Subject: [PATCH] xg --- api/pages/homepage/homepage.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/pages/homepage/homepage.js b/api/pages/homepage/homepage.js index a67db7e..8ba0034 100644 --- a/api/pages/homepage/homepage.js +++ b/api/pages/homepage/homepage.js @@ -53,9 +53,9 @@ export function wxSportDecrypt(data) { } // 微信运动自动添加积分接口 -export function wxsportadd(identity) { +export function wxsportadd(identity, steps) { return request({ - url: `/applet/score/record/wxsport/add/${identity}/WX_SPORT_STEP_NUM`, + url: `/applet/score/record/wxsport/add/${identity}/${steps}/WX_SPORT_STEP_NUM`, method: 'get', header: { region: uni.getStorageSync('region'), @@ -64,9 +64,9 @@ export function wxsportadd(identity) { } // 手动增加积分接口 -export function wxsportaddV1(identity, date) { +export function wxsportaddV1(identity, date, steps) { return request({ - url: `/applet/score/record/wxsport/addV1/${identity}/${date}/WX_SPORT_STEP_NUM`, + url: `/applet/score/record/wxsport/addV1/${identity}/${date}/${steps}/WX_SPORT_STEP_NUM`, method: 'get', header: { region: uni.getStorageSync('region'),