同样的bug,一年了,191180版本了还没修复
微信开发者工具不能修改字体吗?- 当前 Bug 的表现(可附上截图) - 预期表现[图片] 不能修改字体,点了半天没反应 - 复现路径 - 提供一个最简复现 Demo
2019-12-04我也是碰到了
signature calculated is different from遇到一个问题,是在云函数端的错误。 代码是这样的,在云函数端更改一个数据记录。 [代码]var[代码] [代码]handleGoods =[代码][代码]function[代码][代码](goods,storenum){[代码][代码] [代码][代码]var[代码] [代码]_ = db.command;[代码][代码] [代码][代码]return[代码] [代码]db.collection([代码][代码]'goods'[代码][代码]).doc(goods._id).update({[代码][代码] [代码][代码]data:{[代码][代码] [代码][代码]store_num:_.inc(storenum*-1),[代码][代码] [代码][代码]sale_num:_.inc(storenum)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码]}[代码] 结果是 [代码]Error: errCode: -501001 resource system error | errMsg: signature calculated is different from client signature; [代码][代码] [代码][代码]at new CloudSDKError ([代码][代码]/Users/skymxc/Documents/project/WeChat/shop/cloudfunctions/handleOrder/node_modules/wx-server-sdk/index[代码][代码].js:4332:28)[代码][代码] [代码][代码]at Object.returnAsCloudSDKError ([代码][代码]/Users/skymxc/Documents/project/WeChat/shop/cloudfunctions/handleOrder/node_modules/wx-server-sdk/index[代码][代码].js:4384:16)[代码][代码] [代码][代码]at Object.checkError ([代码][代码]/Users/skymxc/Documents/project/WeChat/shop/cloudfunctions/handleOrder/node_modules/wx-server-sdk/index[代码][代码].js:1401:23)[代码][代码] [代码][代码]at DocumentReference.<anonymous> ([代码][代码]/Users/skymxc/Documents/project/WeChat/shop/cloudfunctions/handleOrder/node_modules/wx-server-sdk/index[代码][代码].js:1334:41)[代码][代码] [代码][代码]at step ([代码][代码]/Users/skymxc/Documents/project/WeChat/shop/cloudfunctions/handleOrder/node_modules/tslib/tslib[代码][代码].js:133:27)[代码][代码] [代码][代码]at Object.next ([代码][代码]/Users/skymxc/Documents/project/WeChat/shop/cloudfunctions/handleOrder/node_modules/tslib/tslib[代码][代码].js:114:57)[代码][代码] [代码][代码]at fulfilled ([代码][代码]/Users/skymxc/Documents/project/WeChat/shop/cloudfunctions/handleOrder/node_modules/tslib/tslib[代码][代码].js:104:62)[代码][代码] [代码][代码]at <anonymous>[代码][代码] [代码][代码]at process._tickCallback (internal[代码][代码]/process/next_tick[代码][代码].js:188:7)[代码] 返回的错误是 [代码]signature calculated is different from client signature;[代码] 签名和客户端不同 因为是在云函数端,也不存在权限问题吧。很是不解。 有没有大神帮忙看一下子,万分感谢。
2019-09-15