Explorar o código

Merge branch 'master' of http://git.cc-lotus.info/service-platform/service-market

cheny %!s(int64=5) %!d(string=hai) anos
pai
achega
2b6c718ea4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/product.js

+ 1 - 1
app/service/product.js

@@ -45,7 +45,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;
     }