收藏
回答

Error: errCode: -501001

框架类型 问题类型 终端类型 AppID 基础库版本
小程序 需求 工具 wx8df00821371cf936 2.7.1

- 需求的场景描述(希望解决的问题)

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


回答关注问题邀请回答
收藏
登录 后发表内容