Commit 53a33fca authored by 任国军's avatar 任国军

fix distance

parent bfdfdd7e
Pipeline #15246 passed with stage
in 36 seconds
......@@ -541,7 +541,7 @@ class InstitutionService extends Service {
let ret = [];
for (const i in institutions) {
const institution = institutions[i];
if (distance > 0 && distance < institution.distance) {
if (distance > 0 && distance < institution.distance * 1000) {
continue;
}
// const course_areas = institution.course_areas;
......
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