Commit 8494c664 authored by 李尚科's avatar 李尚科

add internal auth

parent cb2a81b8
Pipeline #6660 passed with stage
in 20 seconds
......@@ -35,7 +35,7 @@ class ResponseController extends Controller {
const phone = phone_info.phone;
// const phone = '15968762898';
const channel_alias = input_params.channel_id;
const app_channel_info = await ctx.poseidonModel.AppChannel.one({ where: { alias: channel_alias } });//
const app_channel_info = await ctx.blockModel.AppChannel.one({ where: { alias: channel_alias } });//
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