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

debug

parent 86463fe2
Pipeline #6665 passed with stage
in 3 seconds
......@@ -31,11 +31,12 @@ class ResponseController extends Controller {
const user_sid = ctx.cookies.get('jianbing_customer_id', { signed: false });
const auth_token = ctx.cookies.get('auth_token', { signed: false });
const phone_info = ctx.service.user.get_phone_by_user_sid({ user_sid: user_sid, token: auth_token });//获取用户手机号码
ctx.logger.info('phone_info: ' + JSON.stringify(phone_info));
const phone = phone_info.phone;
// const phone = '15968762898';
const channel_alias = input_params.channel_id;
const app_channel_info = await ctx.blockModel.AppChannel.one({ where: { alias: channel_alias } });//
ctx.logger.info('app_channel_info: ' + JSON.stringify(app_channel_info));
const channel_id = (app_channel_info && app_channel_info.channel_id) ? app_channel_info.channel_id : false;
const app_id = (app_channel_info && app_channel_info.app_id) ? app_channel_info.app_id : false;
......
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