Taida

我直接在_Role 表中添加 提示添加失败 Role ACL is required. [400 POST /1.1/classes/_Role]

用的是示例中的代码 class Program { static void Main(string[] args) { Cloud cloud = new Cloud().SetHooks().UseLog(); cloud.UseFunction(); cloud.Start(args); } } public class HelloSample { [EngineFunction("Hello")] public static string Hello([EngineFunctionParameter("text")]string text) { return $"Hello, {text…

好,谢谢,就是不能直接在控制台创建吧?

Simulator: D/jswrapper (149): JS: %cleancloud:request %cresponse(%d) %d %O %o%c +399ms color: #3333CC color: inherit 0 200 {"result":"HelloAA夏洛特烦恼"} [object Object] color: #3333CC Simulator: D/jswrapper (130): JS: 云函数错误:TypeError: Cannot read property 'result' of null Simulator: D/jswrapper (643): X…

如果是web会出现 Access to XMLHttpRequest at 'https://ksoweq8j.lc-cn-n1-shared.com/1.1/functions/Hello' from origin 'http://localhost:7456' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. [http://localhost:7456/]