|
|
@ -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()) |
|
|
|