订单评价, WIP
This commit is contained in:
12
app.js
12
app.js
@ -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
|
||||
|
Reference in New Issue
Block a user