When the mass participation to the interface is not the right time json

Solution:

json to String

     const params = {
        orderEncode: this.orderEncode,
        tradeType: 1,
        requestInfo: request,
        responseInfo: JSON.stringify(response),
      };

When the background resolve responseInfo value, if the interface parameter is incorrect report, to be parsed as a string json

Guess you like

Origin www.cnblogs.com/wangyuxue/p/12112212.html