订单评价, WIP

This commit is contained in:
quantulr
2024-05-11 17:21:15 +08:00
parent 67cdb9e667
commit 8e5986a8ef
11 changed files with 274 additions and 119 deletions

12
app.js
View File

@ -67,7 +67,7 @@ App({
})
},
//登录
login(options) {
console.log(options)
@ -123,15 +123,15 @@ App({
})
},
//分享的积分
share(){
share() {
wx.request({
url: this.globalData.ip + '/wisdommining/api/user/putIntetralEarnings',
method: 'PUT',
method: 'PUT',
header: {
"content-type": "application/x-www-form-urlencoded",
},
data: {
userId:this.globalData.userId
userId: this.globalData.userId
},
success: res => {
console.log(res)
@ -146,8 +146,8 @@ App({
bgImg: 'https://sanpinhuicai.com/wisdommining/static/icon/bg/',//背景图片地址
// ip: 'http://106.54.198.47/', //接口地址
ip: 'https://sanpinhuicai.com/', //接口地址
// ip: 'http://192.168.0.112:9000/', //接口地址/
// ip: 'https://sanpinhuicai.com/', //接口地址
ip: 'http://192.168.0.112:9000/', //接口地址/
// ip: 'http://127.0.0.1:9000/', //接口地址/
//appId wx65c9560afc9cbaa7