Commit e7253cac authored by 李尚科's avatar 李尚科

fix

parent 0914fb59
Pipeline #14361 passed with stage
in 6 seconds
......@@ -22,8 +22,8 @@ class InstitutionService extends Service {
//处理条件过滤条件
let where = { status: 1, is_deleted: 0 };
if (cat) {
const cat_ret = await ctx.classModel.CourseCat.one({ where: { id: cat } });
if (cats) {
const cat_ret = await ctx.classModel.CourseCat.one({ where: { id: cats } });
const cat_id = cat_ret.id;
const cat_level = cat_ret.level;
const next_level = cat_level + 1;
......
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