|
@@ -83,7 +83,8 @@ class WeixinController extends Controller {
|
|
if (user.type === '4') {
|
|
if (user.type === '4') {
|
|
|
|
|
|
|
|
|
|
- const stu = await this.ctx.service.student.fetch(uid);
|
|
+ console.log(`uid=>${uid}`);
|
|
|
|
+ const stu = await this.ctx.service.student.fetch({ id: uid });
|
|
console.log(`student:=->${stu}`);
|
|
console.log(`student:=->${stu}`);
|
|
if (stu) {
|
|
if (stu) {
|
|
const { isComming } = stu;
|
|
const { isComming } = stu;
|