Commit 84e65d9f authored by 任国军's avatar 任国军

fix bug

parent b97c79ef
Pipeline #21841 passed with stage
in 12 seconds
......@@ -13,7 +13,7 @@ class ReportService extends Service {
// 获取用户宝宝年龄段
const userBabyInfo = await ctx.classModel.V5.CourseV5UserBaby.findOne({ where: { user_uuid: ctx.userUuid, status: 1, is_deleted: 0 } });
if (ctx.isEmpty(userBabyInfo) || ctx.isEmpty(userBabyInfo.age)) {
if (ctx.isEmpty(userBabyInfo) || ctx.isEmpty(userBabyInfo.baby_age)) {
ctx.failed('请先选择您的宝宝年龄');
}
......
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