开天工业工作台 MIW-为何返回结果验签失败?:处理步骤

时间:2023-11-01 16:18:11

处理步骤

  1. 检查返回结果:

    1. 检查resultCode是不是六个0。
    2. 检查body签名的key的获取是否正确,计算签名值的时候不要key+timeStamp,只要key。
    3. 检查body是不是json字符串格式{" resultCode": "000000"," resultMsg": "Success"}。

  2. 检查返回方式,body需放到response里:response.getWriter().print(body)。
  3. 检查返回内容,是不是定义的返回结果字段。
support.huaweicloud.com/imc_faq/zh-cn_topic_0000001521624917.html