Commit ce2c5c29 authored by lvtz's avatar lvtz

fix userShow

parent 78fb044f
......@@ -11,7 +11,6 @@ import {
newCommentIndex
} from '../../../service/customer/circleindex.js';
import {
userShow,
themeDetail,
getclockread,
putclockread
......@@ -45,7 +44,9 @@ import {
screenshot
} from '../../../utilities/screenshot.js';
import regexp from '../../../constants/regexp.js';
import {
studentidentity
} from '../../../service/customer/signup.js'
var app = getApp();
Page({
data: {
......@@ -169,7 +170,6 @@ Page({
})
}
wx.hideShareMenu()
},
onReady: function () { // Do something when page ready.
// this.doAnimation();
......@@ -245,13 +245,9 @@ Page({
onReachBottom: function () { // Do something when page reach bottom.
// this.clockListGet('up');
},
onShareAppMessage: function (option) { // return custom share data when user share.
},
userShow() {
const visitor = LocalStorage.getItem('visitor');
userShow({
studentidentity({
class_id: this.data.id,
consumer_id: visitor && visitor.id
}).then((res) => {
wx.hideLoading();
const {
......
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