Commit a0d0b5d4 authored by 李尚科's avatar 李尚科

z

parent a2345cdd
Pipeline #18136 passed with stage
in 12 seconds
...@@ -508,7 +508,7 @@ class ProductService extends Service { ...@@ -508,7 +508,7 @@ class ProductService extends Service {
let jianbing_guest_customer_id = ctx.cookies.get('jianbing_guest_customer_id', { signed: false }); let jianbing_guest_customer_id = ctx.cookies.get('jianbing_guest_customer_id', { signed: false });
jianbing_guest_customer_id = isNaN(jianbing_guest_customer_id) ? ctx.helper.decodeUserSid(jianbing_guest_customer_id) : jianbing_guest_customer_id; jianbing_guest_customer_id = isNaN(jianbing_guest_customer_id) ? ctx.helper.decodeUserSid(jianbing_guest_customer_id) : jianbing_guest_customer_id;
filter = { where: { sid: jianbing_guest_customer_id } }; filter = { where: { sid: jianbing_guest_customer_id } };
if (ctx.helper.toInt(jianbing_guest_customer_id) > 500000) { if (ctx.helper.toInt(jianbing_guest_customer_id) > 50000000) {
userInfo = await ctx.gjjModel.SysUser.one(filter); userInfo = await ctx.gjjModel.SysUser.one(filter);
} else { } else {
userInfo = await ctx.gjjModel.SysGuest.one(filter); userInfo = await ctx.gjjModel.SysGuest.one(filter);
......
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