guhongwei 5 years ago
parent
commit
48f68999a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/product.js

+ 1 - 1
app/service/product.js

@@ -44,7 +44,7 @@ class ProductService extends CrudService {
   async allquery(info) {
   async allquery(info) {
     const { code, status, pid } = info;
     const { code, status, pid } = info;
     assert(code, '缺少参数');
     assert(code, '缺少参数');
-    if (code === '000') {
+    if (code === "JLCJGLY") {
       const data = await this.model.find({ status });
       const data = await this.model.find({ status });
       return data;
       return data;
     }
     }