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;
     }