接入云函数报错
加入这两句后就报错
const cloud = require(‘wx-server-sdk’)
cloud.init()
错误信息:
Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID d671c9d9-e7e3-11e8-a25f-52540064d067, cloud function service error code -504002, error message Invalid or unexpected token; at cloud.callFunction api;