Commit 19862e17 authored by 任国军's avatar 任国军

add niutongshe specil

parent dac926c3
Pipeline #27802 passed with stage
in 4 seconds
...@@ -689,6 +689,11 @@ class UserService extends Service { ...@@ -689,6 +689,11 @@ class UserService extends Service {
}; };
await ctx.classModel.V5.CourseUserOrder.create(order); await ctx.classModel.V5.CourseUserOrder.create(order);
// 牛通社特殊处理
if (actInfo.institution_id === 222) {
classInfo.has_address = 0;
}
if (ctx.isEmpty(institutionInfo.pay_column) && classInfo.has_address === 0) { if (ctx.isEmpty(institutionInfo.pay_column) && classInfo.has_address === 0) {
await ctx.classModel.CourseUserActImage.create({ user_uuid: userUuid, image_id: id }); await ctx.classModel.CourseUserActImage.create({ user_uuid: userUuid, image_id: id });
} }
......
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