guhongwei 5 年之前
父节点
当前提交
48f68999a2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/product.js

+ 1 - 1
app/service/product.js

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