Commit ad36941c authored by 黎博's avatar 黎博

去除调试日志

parent 0bb2e746
......@@ -113,10 +113,7 @@ const dbSyncTke = async function (ctx) {
// 数据库同步时新增行为记录
if (ctx.request.method === 'POST' && ctx.response.status === 200 ) {
logger.info('已进入记录日志里')
logger.info('ctx.request:' + ctx.request)
const user = await ctx.redisGet(config.QA_TOKEN, ctx.request.header['x-token'])
logger.info('user:' + user)
if (user) {
const body = ctx.request.body
const data = {
......
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