Error: errCode: -501001
发布于 5 年前 作者 chao71 3177 次浏览 来自 问答
  • 需求的场景描述(希望解决的问题)

2019-06-08T00:59:51.886Z  { Error: errCode: -501001 resource system error | errMsg: signature calculated is different from client signature;

at new CloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6173:28)

at Object.returnAsCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6225:16)

at Object.checkError (/var/user/node_modules/wx-server-sdk/index.js:1490:23)

at Query.<anonymous> (/var/user/node_modules/wx-server-sdk/index.js:1556:41)

at step (/var/user/node_modules/tslib/tslib.js:133:27)

at Object.next (/var/user/node_modules/tslib/tslib.js:114:57)

at fulfilled (/var/user/node_modules/tslib/tslib.js:104:62)

at <anonymous>

at process._tickCallback (internal/process/next_tick.js:188:7)

errCode: -501001,

errMsg: 'signature calculated is different from client signature; ' }

let $point = new db.Geo.Point(new Number(e.point[0]), new Number(e.point[1]));
 
    .where({
      _hits: _.gt(0),
      _point: _.geoNear({
        geometry: $point,
        minDistance: 1,
        maxDistance: 8000,
      })
    }).skip(e.skip).limit(10).get()
回到顶部