Commit 9ac14c14 authored by wangxuelai's avatar wangxuelai

Merge remote-tracking branch 'origin/sj-dev-0819' into wxl-develop-0819

parents 935315b2 092a94db
......@@ -190,7 +190,6 @@ Page({
wx.downloadFile({
url: imgSrc,
success: function (res) {
console.log(res);
//图片保存到本地
wx.saveImageToPhotosAlbum({
filePath: res.tempFilePath,
......@@ -200,7 +199,23 @@ Page({
icon: 'success',
duration: 2000
})
that.getIntegral()
integralLog({
type: 1,
source_type: 1,
source_id: that.data.clockId,
customerId: visitor && visitor.id
}).then((res) => {
if (res.integral && Number(res.integral) > 0) {
that.setData({
scoreFeedBackStatus: {
integral: res.integral,
show: true,
scoretype: 2,
}
})
that.autoclosefeedback();
}
})
},
fail: function (err) {
console.log(err);
......@@ -261,7 +276,7 @@ Page({
open_id: visitor && visitor.openid,
school_id: this.data.clockDetail.school_id,
remark: '',
class_id: this.data.id
class_id: this.data.clockDetail.class_id
})
}
......
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