xg
This commit is contained in:
parent
104a84e7bb
commit
da0ec2c450
@ -53,9 +53,9 @@ export function wxSportDecrypt(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 微信运动自动添加积分接口
|
// 微信运动自动添加积分接口
|
||||||
export function wxsportadd(identity) {
|
export function wxsportadd(identity, steps) {
|
||||||
return request({
|
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',
|
method: 'get',
|
||||||
header: {
|
header: {
|
||||||
region: uni.getStorageSync('region'),
|
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({
|
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',
|
method: 'get',
|
||||||
header: {
|
header: {
|
||||||
region: uni.getStorageSync('region'),
|
region: uni.getStorageSync('region'),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user