Explorar o código

tenderID 读取bug

laiguoran %!s(int64=4) %!d(string=hai) anos
pai
achega
724f98dfb4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/change.js

+ 1 - 1
app/service/change.js

@@ -610,7 +610,7 @@ module.exports = app => {
                     change_update.p_code = postData.p_code;
                     change_update.sin_time = Date.parse(new Date()) / 1000;
 
-                    await this.ctx.service.tenderTag.saveTenderTag(tenderId, {bgl_time: new Date()}, this.transaction);
+                    await this.ctx.service.tenderTag.saveTenderTag(this.ctx.tender.id, { bgl_time: new Date() }, this.transaction);
 
                     // 添加短信通知-审批通过提醒功能
                     // const mobile_array = [];