Commit 0c41b2cd authored by 姜登's avatar 姜登

add

parent aed01b91
Pipeline #22320 passed with stage
in 2 seconds
...@@ -57,9 +57,9 @@ class UserDetailService extends Service { ...@@ -57,9 +57,9 @@ class UserDetailService extends Service {
list: [] list: []
} }
console.log(product)
let where = { user_id }; let where = { user_id };
if (product) { if (product) {
product = JSON.parse(product);
if (product.length > 0) { if (product.length > 0) {
ret.product = product; ret.product = product;
where.service = product; where.service = product;
...@@ -142,7 +142,6 @@ class UserDetailService extends Service { ...@@ -142,7 +142,6 @@ class UserDetailService extends Service {
let where = { user_id }; let where = { user_id };
if (product) { if (product) {
product = JSON.parse(product);
if (product.length > 0) { if (product.length > 0) {
ret.product = product; ret.product = product;
where.service = product; where.service = product;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment