|
@@ -83,6 +83,14 @@ class IntelligentFollowService extends CrudService {
|
|
|
const now = new Date();
|
|
|
const nowtime = now.getTime();// 当前时间戳(授信时间)
|
|
|
const intelligentFollow = await this.model.findById(id);
|
|
|
+
|
|
|
+ if (creditStatus == '1' || creditStatus == '3') {
|
|
|
+ const xuqiuId = intelligentFollow.intelligentId;
|
|
|
+ const xuqiuData = await this.dmodel.findById(xuqiuId);
|
|
|
+ xuqiuData.status = '1';
|
|
|
+ await xuqiuData.save();
|
|
|
+ }
|
|
|
+
|
|
|
if (senhemessage) {
|
|
|
intelligentFollow.senhemessage = senhemessage;
|
|
|
}
|