Open
Description
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);