Commit ce2c5c29 authored by lvtz's avatar lvtz

fix userShow

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