浏览代码

大司空编办筛选调整

MaiXinRong 5 月之前
父节点
当前提交
f7f5cdae99
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/lib/dsk.js

+ 1 - 1
app/lib/dsk.js

@@ -75,7 +75,7 @@ class DSK {
         const url = this.url + 'api/compilation/external/list';
         const url = this.url + 'api/compilation/external/list';
         const postData = {};
         const postData = {};
         const result = this.dealWith(await this.ctx.helper.sendRequest(url, postData, 'GET', 'json', true));
         const result = this.dealWith(await this.ctx.helper.sendRequest(url, postData, 'GET', 'json', true));
-        return result.filter(item => { return item.type === 'highway' && validName.indexOf(item.name) >= 0; });
+        return result.filter(item => { return validName.indexOf(item.name) >= 0; });
     }
     }
 
 
     async getProjectList(mobile, compilationId) {
     async getProjectList(mobile, compilationId) {