Explorar o código

钢联API接口返回错误信息

xyxie hai 3 semanas
pai
achega
f423d0c191
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/base_from_mysteel_chemical.go

+ 1 - 1
services/base_from_mysteel_chemical.go

@@ -708,7 +708,7 @@ func RefreshDataFromMysteelChemical(edbCode, startDate, endDate string) (err err
 		}
 		if !resp.Success {
 			err = errors.New(resp.Message)
-			apiErrMsg = fmt.Sprintf("钢联化工API请求失败, ErrCode: %s, ErrMsg: %s", resp.Code, resp.Message)
+			apiErrMsg = fmt.Sprintf("请求失败, ErrCode: %s, ErrMsg: %s", resp.Code, resp.Message)
 			return
 		}
 		updateResult = true