Browse Source

修改变量名

pull/135/head
zhangxin 3 years ago
parent
commit
a9aa0d8278
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      services/jit/implments/ShipOrder.service.impl.go

+ 2
- 2
services/jit/implments/ShipOrder.service.impl.go View File

@ -2140,8 +2140,8 @@ func (impl *ShipOrderServiceImplement) PermitTrough(workPlaceConfig *baseModel.W
log.Error("发运plc放行调用后台失败, 序列化请求数据失败, error:" + err.Error())
return grmi.NewBusinessError("准备向plc写入数据失败, error:" + err.Error())
}
log.Debug("发运plc放行调用后台, 请求参数:" + string(postData) + ", url:" + conf.DbConfig.PLCBackend)
boday, err := utils.Post(conf.DbConfig.PLCBackend, postData)
log.Debug("发运plc放行调用后台, 请求参数:" + string(postData) + ", url:" + conf.DbConfig.PLCWriteBackend)
boday, err := utils.Post(conf.DbConfig.PLCWriteBackend, postData)
if err != nil {
log.Error("发运plc放行调用后台失败, 调用失败, error:" + err.Error())
return grmi.NewBusinessError("向plc管理后台发送请求失败, error:" + err.Error())


Loading…
Cancel
Save