Commit caa97bda authored by 任国军's avatar 任国军

loan add partner

parent 51ec0aa2
Pipeline #19081 passed with stage
in 14 seconds
...@@ -476,6 +476,9 @@ class ProductService extends Service { ...@@ -476,6 +476,9 @@ class ProductService extends Service {
front_image: v.front_image, front_image: v.front_image,
back_image: v.back_image, back_image: v.back_image,
}; };
if (!ctx.isEmpty(v.partner_alias)) {
tmp.partner = v.partner_alias;
}
ret.push(tmp); ret.push(tmp);
} }
...@@ -584,6 +587,9 @@ class ProductService extends Service { ...@@ -584,6 +587,9 @@ class ProductService extends Service {
front_image: v.front_image, front_image: v.front_image,
back_image: v.back_image, back_image: v.back_image,
}; };
if (!ctx.isEmpty(v.partner_alias)) {
tmp.partner = v.partner_alias;
}
ret.push(tmp); ret.push(tmp);
} }
...@@ -607,6 +613,9 @@ class ProductService extends Service { ...@@ -607,6 +613,9 @@ class ProductService extends Service {
front_image: v.front_image, front_image: v.front_image,
back_image: v.back_image, back_image: v.back_image,
}; };
if (!ctx.isEmpty(v.partner_alias)) {
tmp.partner = v.partner_alias;
}
ret.push(tmp); ret.push(tmp);
} }
} }
......
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