Commit 6ee0e543 authored by 李尚科's avatar 李尚科

house analysis fix

parent 67ea9e13
Pipeline #13053 passed with stage
in 23 seconds
......@@ -64,7 +64,8 @@ class HouseAnalysisService extends Service {
const app_user_id = ctx.appUserId;
const app_id = ctx.appId;
const app_type_id = ctx.appTypeId;
if (!user_id || !app_user_id || !app_id || !app_type_id) {
const user_sid = ctx.oldUserId;
if (!user_id || !app_user_id || !app_id || !app_type_id || !user_sid) {
ctx.failed('login error');
}
let { name, house_type, room_num, hall_num, toilet_num, city_code, area, image } = params;
......@@ -84,6 +85,7 @@ class HouseAnalysisService extends Service {
city: city_code,
house_area: area,
image: image,
user_sid,
created_at: moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),
}
......
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