Commit da60e5d0 authored by wangxuelai's avatar wangxuelai

'点赞删除nowstudentid参数'

parent b65c2a2d
......@@ -146,7 +146,7 @@ function delClock(data) {
errorresolve: 1,
})
}
function fingureUp ({clock_record_id, type, now_consumer_id}) {
function fingureUp ({clock_record_id, type, now_student_id}) {
let url;
url = apis.customer.circleIndex.fingureUp
// if (type == 1) {
......@@ -157,7 +157,6 @@ function fingureUp ({clock_record_id, type, now_consumer_id}) {
url,
data: {
record_id: clock_record_id,
now_consumer_id:now_consumer_id
},
method: 'POSt',
errorresolve: 1,
......
......@@ -411,7 +411,7 @@ Component({
const visitor = LocalStorage.getItem('visitor');
fingureUp({
clock_record_id: this.data.clock.id,
now_consumer_id: visitor && visitor.id,
now_student_id: visitor && visitor.studentId,
type // 1 点赞 2 取消点赞
}).then((res) => {
const {code, data} = res;
......
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