We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我实现了一个新的函数,重启了项目。访问的时候提示 PUT 请求,remarks() 不合法!非开放请求不允许传远程函数 key():"fun()" !
public String getCurrentUsername(JSONObject curObj) { try { return SecurityUtils.getUser().getUsername(); } catch (Exception e) { log.warn(e.getMessage()); } return null; }
INSERT INTO zcloudx_codegen.function (id, debug, user_id, language, name, return_type, arguments, demo, detail, version, tag, methods, date, return) VALUES (10, 0, 0, NULL, 'getCurrentUsername', 'String', NULL, '{}', '111', 0, NULL, NULL, '2024-06-25 01:59:07', NULL);
zcloudx_codegen
function
id
debug
user_id
language
name
return_type
arguments
demo
detail
version
tag
methods
date
return
The text was updated successfully, but these errors were encountered:
只有 GET, HEAD 这两个开放请求允许前端传参远程函数,其它的只能后端 Request 表配置
Sorry, something went wrong.
好的。谢谢
具体怎么配置呢?没看到对应的示例
@aa52496994 Request 表里一堆例子,不要做伸手党,你的这个问题不会再回复
No branches or pull requests
Description
我实现了一个新的函数,重启了项目。访问的时候提示 PUT 请求,remarks() 不合法!非开放请求不允许传远程函数 key():"fun()" !
public String getCurrentUsername(JSONObject curObj) {
try {
return SecurityUtils.getUser().getUsername();
} catch (Exception e) {
log.warn(e.getMessage());
}
return null;
}
INSERT INTO
zcloudx_codegen
.function
(id
,debug
,user_id
,language
,name
,return_type
,arguments
,demo
,detail
,version
,tag
,methods
,date
,return
) VALUES (10, 0, 0, NULL, 'getCurrentUsername', 'String', NULL, '{}', '111', 0, NULL, NULL, '2024-06-25 01:59:07', NULL);The text was updated successfully, but these errors were encountered: