Showing
3 changed files
with
9 additions
and
9 deletions
@@ -55,4 +55,4 @@ exports.schoolList = (req, res, next) => { | @@ -55,4 +55,4 @@ exports.schoolList = (req, res, next) => { | ||
55 | studentsModel.getSchoolList(areaCode).then(result => { | 55 | studentsModel.getSchoolList(areaCode).then(result => { |
56 | res.json(result); | 56 | res.json(result); |
57 | }).catch(next); | 57 | }).catch(next); |
58 | -}; | ||
58 | +}; |
@@ -14,7 +14,7 @@ const api = global.yoho.API; | @@ -14,7 +14,7 @@ const api = global.yoho.API; | ||
14 | exports.getVerifiedTotal = () => { | 14 | exports.getVerifiedTotal = () => { |
15 | 15 | ||
16 | return api.get('', {method: 'app.student.verifiedStudentTotal'}); | 16 | return api.get('', {method: 'app.student.verifiedStudentTotal'}); |
17 | -} | 17 | +}; |
18 | 18 | ||
19 | /** | 19 | /** |
20 | * 获取学历层次列表 | 20 | * 获取学历层次列表 |
@@ -23,7 +23,7 @@ exports.getVerifiedTotal = () => { | @@ -23,7 +23,7 @@ exports.getVerifiedTotal = () => { | ||
23 | exports.getLevelList = () => { | 23 | exports.getLevelList = () => { |
24 | 24 | ||
25 | return api.get('', {method: 'app.studentMarket.getEducationLevelList'}); | 25 | return api.get('', {method: 'app.studentMarket.getEducationLevelList'}); |
26 | -} | 26 | +}; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | * 获取学校地区 | 29 | * 获取学校地区 |
@@ -35,7 +35,7 @@ exports.getArea = () => { | @@ -35,7 +35,7 @@ exports.getArea = () => { | ||
35 | }; | 35 | }; |
36 | 36 | ||
37 | return api.get('', finalParams); | 37 | return api.get('', finalParams); |
38 | -} | 38 | +}; |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * 获取学校列表 | 41 | * 获取学校列表 |
@@ -48,4 +48,4 @@ exports.getSchool = (areaCode) => { | @@ -48,4 +48,4 @@ exports.getSchool = (areaCode) => { | ||
48 | }; | 48 | }; |
49 | 49 | ||
50 | return api.get('', finalParams); | 50 | return api.get('', finalParams); |
51 | -} | 51 | +}; |
@@ -109,19 +109,19 @@ exports.getTestData = () => { | @@ -109,19 +109,19 @@ exports.getTestData = () => { | ||
109 | * 获取学校地区数据 | 109 | * 获取学校地区数据 |
110 | * @return Object 接口数据 | 110 | * @return Object 接口数据 |
111 | */ | 111 | */ |
112 | - exports.getSchoolArea = () => { | 112 | +exports.getSchoolArea = () => { |
113 | return studentsApi.getArea().then(result => { | 113 | return studentsApi.getArea().then(result => { |
114 | return result; | 114 | return result; |
115 | }); | 115 | }); |
116 | - } | 116 | +}; |
117 | 117 | ||
118 | /** | 118 | /** |
119 | * 根据地区码查询学校列表 | 119 | * 根据地区码查询学校列表 |
120 | * @params areaCode int 地区码 | 120 | * @params areaCode int 地区码 |
121 | * @return Object 接口数据 | 121 | * @return Object 接口数据 |
122 | */ | 122 | */ |
123 | - exports.getSchoolList = (areaCode) => { | 123 | +exports.getSchoolList = (areaCode) => { |
124 | return studentsApi.getSchool(areaCode).then(result => { | 124 | return studentsApi.getSchool(areaCode).then(result => { |
125 | return result; | 125 | return result; |
126 | }); | 126 | }); |
127 | - } | 127 | +}; |
-
Please register or login to post a comment