测试API数据正式返回

Blade 已结 1 187
zhangkecheng
zhangkecheng 剑侠 2024-11-16 14:55

按照教程访问测试链接:

http://localhost:8050/blade-visual/category/list

image.png

image.png

提示:

2024-11-16T14:56:17.155+08:00  WARN 62888 --- [blade-data-server] [  XNIO-1 task-4] o.s.c.l.e.BladeRestExceptionTranslator   : 缺少请求参数

2024-11-16T14:56:17.606+08:00  WARN 62888 --- [blade-data-server] [  XNIO-1 task-4] o.s.c.s.interceptor.SecureInterceptor    : 签名认证失败,请求接口:/favicon.ico,请求IP:0:0:0:0:0:0:0:1,请求参数:{}


1条回答
  •  admin
    admin (最佳回答者)
    2024-11-16 14:58

    /blade-visual/category/list?categoryModule=menu

    加一个参数试试

    作者追问:2024-11-16 14:58

    素材上传成功缺不显示

    image.png

    image.png

    image.png

    image.png


    回答: 2024-11-16 14:58

    设置minio存储桶策略为公开,这个报错是访问被拒绝

    作者追问:2024-11-16 14:58

    按照教程打包报错

    mvn clean package -Dmaven.test.skip=true

    image.png

    image.png

    PS E:\Code_Git\BladeX\blade-data\Data-Server-Boot> mvn clean package -Dmaven.test.skip=true

    [WARNING] 

    [WARNING] Some problems were encountered while building the effective settings

    [WARNING] 'servers.server.id' must be unique but found duplicate server with id maven-releases @ E:\Soft_Dev\Windows-apache-maven-3.6.3-bin\bin\..\conf\settings.xml

    [WARNING] 'servers.server.id' must be unique but found duplicate server with id maven-snapshots @ E:\Soft_Dev\Windows-apache-maven-3.6.3-bin\bin\..\conf\settings.xml

    [WARNING] 

    [INFO] Scanning for projects...

    Downloading from maven-releases: https://repository.jnpfsoft.com/repository/maven-public/com/github/xiaoymin/knife4j-dependencies/4.5.0/knife4j-dependencies-4.5.0.pom

    Downloaded from maven-releases: https://repository.jnpfsoft.com/repository/maven-public/com/github/xiaoymin/knife4j-dependencies/4.5.0/knife4j-dependencies-4.5.0.pom (0 B at 0 B/s)

    [INFO]

    [INFO] ------------------< org.springblade:Data-Server-Boot >------------------

    [INFO] Building Data-Server-Boot 4.4.0

    [INFO] --------------------------------[ jar ]---------------------------------

    [INFO] ------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    [INFO] ------------------------------------------------------------------------

    [INFO] Total time:  1.912 s

    [INFO] Finished at: 2024-11-16T15:45:06+08:00

    [INFO] ------------------------------------------------------------------------

    [ERROR] Unknown lifecycle phase ".test.skip=true". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

    [ERROR]

    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

    [ERROR] Re-run Maven using the -X switch to enable full debug logging.

    [ERROR]

    [ERROR] For more information about the errors and possible solutions, please read the following articles:

    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException


    1 讨论(1)
提交回复