Commit cfaf1bf2 authored by Hsinli's avatar Hsinli

addd

parent 1d1e4976
Pipeline #6127 passed with stage
in 2 seconds
...@@ -84,9 +84,9 @@ module.exports = () => { ...@@ -84,9 +84,9 @@ module.exports = () => {
deviceLoginId = typeof (ctx.request.header.device_login_id) !== 'undefined' ? ctx.request.header.device_login_id : undefined; deviceLoginId = typeof (ctx.request.header.device_login_id) !== 'undefined' ? ctx.request.header.device_login_id : undefined;
} }
// if((deviceId == undefined || !deviceId || deviceId.length === 0) && input_params.device_id != undefined){ if ((deviceId == undefined || !deviceId || deviceId.length === 0) && input_params.device_id != undefined) {
// deviceId = input_params.device_id; deviceId = input_params.device_id;
// } }
// 校验 // 校验
const params = { const params = {
app_user_id: appUserId, app_user_id: appUserId,
...@@ -104,10 +104,10 @@ module.exports = () => { ...@@ -104,10 +104,10 @@ module.exports = () => {
ctx.logger.info('user_auth_params: ' + JSON.stringify(params)); ctx.logger.info('user_auth_params: ' + JSON.stringify(params));
ctx.logger.info('user_auth_result: ' + JSON.stringify(result)); ctx.logger.info('user_auth_result: ' + JSON.stringify(result));
console.log(result); console.log(result);
// if (result.status !== 201) { if (result.status !== 201) {
// ctx.failed('无效用户'); ctx.failed('无效用户');
// return; return;
// } }
// const data = result.data.data; // const data = result.data.data;
let data = result.data.data; let data = result.data.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