Commit 52a6e49f by 高淑倩

modify: 积分请求方式

parent a85ecb98
...@@ -42,7 +42,7 @@ Component({ ...@@ -42,7 +42,7 @@ Component({
wx.showLoading({ wx.showLoading({
title: '加载中' title: '加载中'
}) })
wxService.post(`/member/memberPoint/getMyPointInfo`).then(res => { wxService.get(`/member/memberPoint/getMyPointInfo`).then(res => {
const { result, data } = res.data const { result, data } = res.data
if (result == 0) { if (result == 0) {
wx.hideLoading() wx.hideLoading()
......
...@@ -37,7 +37,7 @@ wxService.page({ ...@@ -37,7 +37,7 @@ wxService.page({
wx.showLoading({ wx.showLoading({
title: '加载中' title: '加载中'
}) })
wxService.post(`/member/memberPoint/getMyPointInfo`).then(res => { wxService.get(`/member/memberPoint/getMyPointInfo`).then(res => {
const { result, data } = res.data const { result, data } = res.data
if (result == 0) { if (result == 0) {
wx.hideLoading() wx.hideLoading()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment