Commit 9fc75979 authored by 方斌's avatar 方斌

z

parent 718ae495
Pipeline #17870 passed with stage
in 51 seconds
......@@ -409,8 +409,10 @@ class ProductService extends Service {
place_cid = userInfo.place_cid;
} else {
const jianbing_guest_customer_id = ctx.cookies.get('jianbing_guest_customer_id', { signed: false });
filter = { where: { sid: jianbing_guest_customer_id } };
const userInfo = await ctx.gjjModel.SysGuest.one(filter);
ctx.logger.info('jianbing_guest_customer_id:' + JSON.stringify(userInfo));
if (userInfo !== null) {
place_cid = userInfo.place_cid;
}
......@@ -485,8 +487,10 @@ class ProductService extends Service {
place_cid = userInfo.place_cid;
} else {
const jianbing_guest_customer_id = ctx.cookies.get('jianbing_guest_customer_id', { signed: false });
filter = { where: { sid: jianbing_guest_customer_id } };
let userInfo = await ctx.gjjModel.SysGuest.one(filter);
ctx.logger.info('jianbing_guest_customer_id:' + JSON.stringify(userInfo));
if (userInfo !== null) {
place_cid = userInfo.place_cid;
}
......
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