|
@@ -13,9 +13,9 @@ class TryLessonApplyService extends CrudService {
|
|
|
}
|
|
|
|
|
|
async afterUpdate(filter, body, data) {
|
|
|
- const { status } = data;
|
|
|
+ const { result } = data;
|
|
|
|
|
|
- if (status !== '1') return data;
|
|
|
+ if (result !== '1') return data;
|
|
|
|
|
|
const obj = _.pick(data, [ 'school_id', 'lesson_id', 'student_id' ]);
|
|
|
obj.is_try = '1';
|