lrf 2 年之前
父節點
當前提交
d5a74b47e2
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/z_router/business/lessonStudent.js

+ 1 - 0
app/z_router/business/lessonStudent.js

@@ -7,6 +7,7 @@ const rkey = 'lessonStudent';
 const ckey = 'business.lessonStudent';
 const keyZh = '课程-学员';
 const routes = [
+  { method: 'post', path: `${rkey}/checkCanUse`, controller: `${ckey}.checkCanUse`, name: `${ckey}checkCanUse`, zh: `查询是否可以报名${keyZh}` },
   { method: 'post', path: `${rkey}/toComputed`, controller: `${ckey}.toComputed`, name: `${ckey}toComputed`, zh: `计算价格${keyZh}` },
   { method: 'get', path: `${rkey}`, controller: `${ckey}.index`, name: `${ckey}Query`, zh: `${keyZh}列表查询` },
   { method: 'get', path: `${rkey}/:id`, controller: `${ckey}.show`, name: `${ckey}Show`, zh: `${keyZh}查询` },