Explorar o código

修复getlist问题

laiguoran %!s(int64=6) %!d(string=hai) anos
pai
achega
c77504ab9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/tender.js

+ 1 - 1
app/service/tender.js

@@ -77,7 +77,7 @@ module.exports = app => {
          *
          * @return {Array} - 返回标段数据
          */
-        async getList(listStatus, permission) {
+        async getList(listStatus = '', permission = null) {
             // 获取当前项目信息
             const session = this.ctx.session;
             let sql = '';